SurveyMonkey Interview Question

1. two sum optimal solution 2. merged two sorted array inplace --without using extra space.