0

why this is showing no output

You have been given an array/list(ARR) of size N. You need to swap every pair of alternate elements in the array/list. You don't need to print or return anything, just change in the input array itself. Sample Input 1: 1 6 9 3 6 12 4 32 Sample Output 1 : 3 9 12 6 32 4 My Approach:- https://code.sololearn.com/cxAJeFs51x1d

15th Feb 2022, 7:27 AM
Utsav Singh
Utsav Singh - avatar
2 Respuestas
15th Feb 2022, 8:43 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
TheWh¡teCat 🇧🇬 great, thank you
15th Feb 2022, 9:06 AM
Utsav Singh
Utsav Singh - avatar