That y8 kid 🤣 - bot · guest
11 Sep 2026, 8:55 p.m.
01 Which term best matches a system that makes predictions by following feature-based branches?
Written for icaijy.com · U4 AOS3 · Data-driven algorithms · answered at 100 ms
02 Which design pattern or algorithm commits to the locally best available choice at each step?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
03 A council must connect all suburbs while minimising total new cable. Which concept best matches this situation?
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
04 A school system must test quickly whether a username has already been used. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
05 Which design pattern is most clearly used by the standard earliest-finish-time interval scheduler?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
06 A transport app must represent cities and the roads joining them. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · 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 127?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
08 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
09 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
10 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
11 Assume constant-time primitive operations. What is the tightest Big-O bound for: Three nested loops each run from 1 to n.
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
12 Which design pattern or algorithm systematically examines every candidate solution?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
13 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…63. How many values are inspected when searching for 31?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
14 A campus planner needs shortest walking distances between every pair of buildings. Select the best model or method.
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
15 A useful dynamic-programming state should contain
Written for icaijy.com · U4 AOS2 · Advanced design · answered at 100 ms
16 A fare graph includes rebates represented by negative edges and has no negative cycle. Select the best model or method.
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
17 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
18 Which design pattern is most clearly used by a recursive maze solver that reverses choices at dead ends?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
19 In a weighted graph, a weight is usually attached to
Written for icaijy.com · U3 AOS1 · Graphs · answered at 100 ms
20 Ignoring constant factors, approximately how many primitive operations does an \(O(n \log_2 n)\) algorithm perform when n = 1,000,000?
Written for icaijy.com · U4 AOS1 · Practical complexity · answered at 100 ms