JavaScript Coding Interview: Prefix Sums and Binary Search Quiz
Interactive Quiz ⋅ 8 Questions
By Bartosz Zaczyński
In an interview, nobody tells you which technique to use. Prefix sums and binary search both promise speed, but they answer different kinds of questions, and patterns from earlier courses still compete with them.
Each of the eight questions describes a problem you might get in an interview. You don’t need to solve it. Just decide which approach fits best, then read the explanation to check your reasoning.
This quiz is part of JavaScript Coding Interview: Prefix Sums and Binary Search.
The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
JavaScript Coding Interview: Prefix Sums and Binary Search
Practice prefix sums and binary search on original JavaScript interview problems, with an AI-code review, a pattern quiz, and a mock interview.