Watch others solve Heaps interview questions, see how they did, and learn from their mistakes.
Get step-by-step instructions on how to approach and solve common technical interview questions.
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).
Given a non-empty array of integers, return the k most frequent elements
Given an array of integers, transform the array in-place to a max heap.
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.
Interview prep and job hunting are chaos and pain. We can help. Really.