OKG interview question

- two sum - some repeating substring kind of question