Backend Developer
Algorithms questions
10 questions on Algorithms for backend developers, easiest first.
Medium 2
Hard 8
- Quickselect for the k-th largesthard
- Boyer–Moore without a guaranteed majorityhard
- Shuffling with sort and Math.randomhard
- Fisher-Yates with one wrong boundhard
- Midpoint overflow in binary searchhard
- Computing a large power mod mhard
- Picking one random log line from a streamhard
- Weighted random server choicehard