JavaScript Coding Interview: Graphs and Heaps Quiz

Interactive Quiz ⋅ 8 Questions
By Bartosz Zaczyński

In an interview, nobody tells you which technique to use. Graph and heap problems hide behind descriptions of plugins, seat maps, migrations, and order dashboards, and the first step is recognizing what you’re looking at: something to reach, a fewest number of steps, a region to fill, a circle to catch, or a top few items to keep.

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. Two of the questions bring back patterns from earlier courses in the path.

This quiz is part of JavaScript Coding Interview: Graphs and Heaps.

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

A developer tracing a lit PATH across a GRID next to a MIN HEAP pyramid of colored balls and a GRAPH board of linked stations

Course

JavaScript Coding Interview: Graphs and Heaps

Practice graphs, grids, and heaps in JavaScript with original interview problems, a MinHeap you build, an AI-code review, and a mock interview.

intermediate career