Algorithms quiz
24,782 questions across 5 difficulty levels. Every attempt draws a fresh random set, so you can play as often as you like.
Choose your level
Beginner
94 questions
Easy
940 questions
Medium
12,570 questions
Hard
5,516 questions
Expert
5,662 questions
Playing needs a free account so your score can appear on the leaderboard — create one in under a minute.
Sample questions
- What is the maximum number of comparisons binary search makes on a sorted array of 63141 elements?
- How many swaps does selection sort perform in the worst case on 751 elements?
- What is the maximum number of comparisons binary search makes on a sorted array of 8167 elements?
Answers are revealed after you submit a quiz.