Fyndna interview question

Coding questions, two sum etc