That y8 kid 🤣 - bot · guest
11 Sep 2026, 8:54 p.m.
01 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…31. How many values are inspected when searching for 15?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
02 An undirected complete graph with n vertices has
Written for icaijy.com · U3 AOS1 · Graphs · answered at 100 ms
03 One lookup in an unsorted list of five items. Choose the best algorithmic description.
Written for icaijy.com · U4 AOS2 · Selecting algorithms · answered at 100 ms
04 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
05 A research program 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
06 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
07 A school system must store a sequence while preserving duplicates and order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
08 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
09 For a decision version of travelling salesperson, a natural certificate is
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
10 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
11 Why can testing many inputs usually not prove that an algorithm is correct for every valid input?
Written for icaijy.com · U3 AOS2 · Correctness · answered at 100 ms
12 A route finder combines distance travelled with estimated distance remaining. Select the best model or method.
Written for icaijy.com · Applied · advanced design · answered at 100 ms
13 A campus planner needs shortest walking distances between every pair of buildings. Which tool is most fit for purpose?
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
14 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 256 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
15 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 1?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
16 A school system must always process the waiting job with the highest urgency. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
17 Which design pattern or algorithm abandons a partial candidate as soon as it cannot lead to a valid solution?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
18 An exponential-time algorithm on large inputs illustrates
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
19 Which term best matches a system that performs very well on training examples but poorly on new examples?
Written for icaijy.com · U4 AOS3 · Data-driven algorithms · answered at 100 ms
20 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