← Atlassian questions

Find K Closest Elements

Filed under Atlassian · Also reported at Cashfree

The question

Find the k closest elements to a given value in an array.

No write-up yet. Related questions below have one.

Related Atlassian questions

Collected from public candidate posts and coding forums. Updated Nov 2026.