Find Closest Element

Company: DevRev_3rdaug

Difficulty: medium