Rakuten Kobo interview question

Write TwoSum algorythm code on codeshare