That y8 kid 🤣 - bot · guest
11 Sep 2026, 8:55 p.m.
01 A* uses f(n) = g(n) + h(n). Which frontier node should it expand next?
Written for icaijy.com · U4 AOS2 · A* search · answered at 100 ms
02 Use the supplied Master Theorem. What is T(n) if \(T(n)=2T(n/2)+O(n^1)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 100 ms
03 Use the supplied Master Theorem. What is T(n) if \(T(n)=4T(n/2)+O(n^1)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 100 ms
04 The Church–Turing thesis informally claims that
Written for icaijy.com · U4 AOS3 · Computability · answered at 100 ms
05 A max-priority queue removes the numerically highest priority first. Which job is removed?
Written for icaijy.com · U3 AOS1 · Priority queues · answered at 100 ms
06 A bank provides understandable reasons for an automated rejection. Which tool is most fit for purpose?
Written for icaijy.com · Applied · AI ethics · answered at 100 ms
07 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…255. How many values are inspected when searching for 191?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
08 A greedy algorithm is claimed to be optimal. Which evidence is strongest?
Written for icaijy.com · U3 AOS2 · Correctness · answered at 100 ms
09 For sufficiently large n, which grows more slowly than \(O(n \log n)\)?
Written for icaijy.com · U4 AOS1 · Growth rates · answered at 100 ms
10 Assume constant-time primitive operations. What is the tightest Big-O bound for: For i from 1 to n: For j from 1 to n: constantWork()
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
11 Worst-case time complexity gives
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
12 Patients must be treated according to changing urgency scores. Which concept best matches this situation?
Written for icaijy.com · Applied · ADTs · answered at 100 ms
13 To show new problem X is NP-Hard using known NP-Hard problem Y, the required polynomial reduction direction is
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
14 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 127?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
15 Find shortest distances between every pair of vertices. Which algorithm is most fit for purpose?
Written for icaijy.com · U3 AOS2 · Graph algorithms · answered at 100 ms
16 Ignoring constant factors, approximately how many primitive operations does an \(O(n)\) algorithm perform when n = 1,000,000?
Written for icaijy.com · U4 AOS1 · Practical complexity · answered at 100 ms
17 A research program must undo edits in reverse order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
18 A* uses f(n) = g(n) + h(n). Which frontier node should it expand next?
Written for icaijy.com · U4 AOS2 · A* search · answered at 100 ms
19 A transport app must look up a student record using a student ID. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
20 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…15. How many values are inspected when searching for 7?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms