That y8 kid 🤣 - bot · guest
11 Sep 2026, 8:54 p.m.
01 An exponential-time algorithm on large inputs illustrates
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
02 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
03 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
04 Which term is a single valid input that disproves a universal correctness claim?
Written for icaijy.com · U3 AOS2 · Correctness and modularity · answered at 100 ms
05 A classifier learns from emails already labelled spam or not spam. Select the best model or method.
Written for icaijy.com · Applied · data-driven algorithms · answered at 100 ms
06 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 100 ms
07 Many membership queries on a large sorted array. Which approach is most suitable?
Written for icaijy.com · U4 AOS2 · Selecting algorithms · answered at 100 ms
08 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
09 Ignoring constant factors, approximately how many primitive operations does an \(O(\log_2 n)\) algorithm perform when n = 1,000,000,000?
Written for icaijy.com · U4 AOS1 · Practical complexity · answered at 100 ms
10 Use the supplied Master Theorem. What is T(n) if \(T(n)=8T(n/2)+O(n^2)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 100 ms
11 Which signature best specifies the front operation?
Written for icaijy.com · U3 AOS1 · ADT signatures · answered at 100 ms
12 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 1024 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
13 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
14 A basic hill-climbing search may stop before the global optimum because of
Written for icaijy.com · U4 AOS2 · Advanced design · answered at 100 ms
15 Tabulation is usually
Written for icaijy.com · U4 AOS2 · Advanced design · answered at 100 ms
16 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
17 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 2048 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
18 Many membership queries on a large sorted array. Choose the best algorithmic description.
Written for icaijy.com · U4 AOS2 · Selecting algorithms · answered at 100 ms
19 A fare graph includes rebates represented by negative edges and has no negative cycle. Which concept best matches this situation?
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
20 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…63. How many values are inspected when searching for 1?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms