Microsoft Interview Question: Find if given number matched ... | Glassdoor

Interview Question

Software Development Engineer In Test (SDET) Interview Mountain View, CA

Find if given number matched sum of two elements in sorted

  array.
Answer

Interview Answer

2 Answers

0

Don't assume array is sorted when testing. Now how your solution fail !!

Interview Candidate on Mar 7, 2013
0

two pointers solves sorted array, hashmap can solve unsorted array

What a lucky guy~ on Feb 12, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.