icaijy
10 Sep 2026, 8:24 p.m.
01 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 2982 ms
02 Which signature best specifies the pop operation?
Written for icaijy.com · U3 AOS1 · ADT signatures · answered at 7679 ms
03 An admissible A* heuristic
Written for icaijy.com · U4 AOS2 · Advanced design · answered at 12169 ms
04 A classifier learns from emails already labelled spam or not spam. Which tool is most fit for purpose?
Written for icaijy.com · Applied · data-driven algorithms · answered at 19082 ms
05 A greedy algorithm is claimed to be optimal. Which evidence is strongest?
Written for icaijy.com · U3 AOS2 · Correctness · answered at 25885 ms
06 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 30535 ms
07 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…255. How many values are inspected when searching for 63?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 35833 ms
08 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 42141 ms
09 Which term best matches a system that seeks structure in unlabelled data?
Written for icaijy.com · U4 AOS3 · Data-driven algorithms · answered at 47662 ms
10 How many edges are in an undirected complete graph with 5 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 48767 ms
11 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 16 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 52964 ms
12 Improve a timetable by repeatedly accepting only a better neighbouring timetable. Which approach is most suitable?
Written for icaijy.com · U4 AOS2 · Selecting algorithms · answered at 53938 ms
13 Use the supplied Master Theorem. What is T(n) if \(T(n)=1T(n/3)+O(n^0)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 57542 ms
14 Ignoring constant factors, approximately how many primitive operations does an \(O(n^3)\) algorithm perform when n = 1,000?
Written for icaijy.com · U4 AOS1 · Practical complexity · answered at 58516 ms