Atlassian interview question

Reverse a int[] array in place

Interview Answers

Anonymous

31 Oct 2018

have a startIndex and endIndex. Swap the elements at these indices, increment startIndex, decrement endIndex, and repeat this process again until startIndex > endIndex

Anonymous

16 Oct 2019

This looks so good: bit.ly/faang100