Capital One interview question

Solve a leetcode type question of: 2 sum nearest 0

Interview Answer

Anonymous

5 Apr 2022

This one did not go well for me lol. Most 2 sum questions are pretty easy, but for some reason I could not solve the nearest 0 part on the spot.