Backend developer interview questions shared by candidates
1) Write method to check if there are any 2 values in an sorted Array, sum of witch equals to testing number. F.e: Arr=[1, 3, 5, 7, 12, 15]. If testing value f.e. 10 - we should get true (3 + 7) If testing value f.e. 9 - false. I got 15 min for that. test
Just write loop in loop. It's easy one.