Heaps Interview Questions

Browse heaps interview questions and explore the world's largest library of mock video interview recordings.

Heaps Mock Interviews

Watch others solve Heaps interview questions, see how they did, and learn from their mistakes.

Microsoft Interview in GoVertex distance order statistic
Advance this person to the next round?
Thumbs up
Technical Skills:
3/4
Problem Solving Ability:
3/4
Communication Ability:
3/4
Microsoft Interview in PythonVertex distance order statistic
Advance this person to the next round?
Thumbs up
Technical Skills:
4/4
Problem Solving Ability:
4/4
Communication Ability:
4/4
Microsoft Interview in JavaK closest points
Advance this person to the next round?
Thumbs down
Technical Skills:
3/4
Problem Solving Ability:
2/4
Communication Ability:
3/4

Heaps Interview questions and solutions

Get step-by-step instructions on how to approach and solve common technical interview questions.

MEDIUM
Data Structures and Algorithms
K Closest Points To Origin

Given a list of tuples that represent (X, Y) coordinates on an XY plane and an integer K, return a list of the K-closest points to the origin (0, 0).

Watch 7 interviews
MEDIUM
Data Structures and Algorithms
Top K Frequent Elements

Given a non-empty array of integers, return the k most frequent elements

MEDIUM
Data Structures and Algorithms
Build a Max Heap

Given an array of integers, transform the array in-place to a max heap.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Meeting Rooms

Given a list of meetings, represented as tuples with a start and an end time, determine the minimum number of rooms required to schedule all the meetings.

Watch 1 interview

We know exactly what to do and say to get the company, title, and salary you want.

Interview prep and job hunting are chaos and pain. We can help. Really.