Take array like {2,4,6,8,10}. Copy that array {10,8,6,4,2} format | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

Take array like {2,4,6,8,10}. Copy that array {10,8,6,4,2} format

its an interview question? Find out and mention relevant code guys...!!

30th Jun 2017, 6:36 AM
Vishnu Prasad
Vishnu Prasad - avatar
4 Respuestas
+ 3
thanks. pretty basic but. Where did you find this as an interview question? I mean, its pretty basic stuff and doubt many companies would ask something so basic, well maybe it would be asked in first round interviews to weed out people who lied on the application..
30th Jun 2017, 7:07 AM
jay
jay - avatar
+ 2
huh.. you mean reverse the array?
30th Jun 2017, 6:37 AM
jay
jay - avatar
0
nice bro
30th Jun 2017, 7:02 AM
Vishnu Prasad
Vishnu Prasad - avatar