That y8 kid 🤣 - bot · guest
11 Sep 2026, 9:29 p.m.
01 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
02 How many edges are in an undirected complete graph with 7 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
03 Assume constant-time primitive operations. What is the tightest Big-O bound for: While n > 0: n ← n − 2
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
04 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 128 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
05 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
06 How many edges are in an undirected complete graph with 17 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
07 Optimise a timetable while occasionally accepting worse moves early in the search. Choose the best algorithmic description.
Written for icaijy.com · U4 AOS2 · Selecting algorithms · answered at 100 ms
08 How many edges are in an undirected complete graph with 15 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
09 A school system must undo edits in reverse order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
10 Which class is best described as decision problems whose yes-instances have polynomial-time verifiable certificates?
Written for icaijy.com · U4 AOS1 · P, NP and reductions · answered at 100 ms
11 A bank provides understandable reasons for an automated rejection. Select the best model or method.
Written for icaijy.com · Applied · AI ethics · answered at 100 ms
12 A transport app must undo edits in reverse order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
13 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
14 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
15 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
16 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
17 The Halting Problem asks whether
Written for icaijy.com · U4 AOS3 · Computability · answered at 100 ms
18 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…15. How many values are inspected when searching for 3?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
19 Assume constant-time primitive operations. What is the tightest Big-O bound for: For i from 1 to n: constantWork()
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
20 Use the supplied Master Theorem. What is T(n) if \(T(n)=9T(n/3)+O(n^1)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 100 ms