Signed outUse sign in or sign up
← Back to problem library

Problem detail

658. Find K Closest Elements

MediumArrayTwo PointersBinary SearchSliding WindowSortingHeap (Priority Queue)

Use this page to open the original problem, record a review, and keep the reasoning you want to remember for the next attempt.

Review history

No review history yet. Record your first attempt after solving this problem.