Pregunta de entrevista de FDM Group

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

Respuestas de entrevistas

Anónimo

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

Anónimo

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