Domanda di colloquio di Atlassian

Reverse a int[] array in place

Risposte di colloquio

Anonimo

31 ott 2018

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

Anonimo

16 ott 2019

This looks so good: bit.ly/faang100