Frage im Vorstellungsgespräch bei FDM Group

Given an array, reverse it without using any other array. Explain your approach.

Antworten zu Vorstellungsgespräch

Anonym

16. Sept. 2020

int[] arr= {1,5,6,7,8,6,5,2,4,9}; int lastIndex = arr.length-1; for(int i =0; i

Anonym

16. Sept. 2020

int[] arr= {1,5,6,7,8,6,5,2,4,9}; int lastIndex = arr.length-1; for(int i =0; i

5