All quizzes

Binary Search & Heaps Quiz

Search a sorted array with binary search, and find the kth largest element with a heap.

30

Minutes

50

Total points

7

Questions

Part 1 — Multiple Choice

5 × 4 pts = 20 pts

Select one answer per question. No partial credit.

Part 2 — Coding

2 problems · 30 pts

Write Python. Run tests freely. Partial credit based on tests passed.

· Binary Search (15 pts)

· Kth Largest Element in an Array (15 pts)

Timer starts immediately