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
2 Réponses
+ 3
US22 , look at the corrected code.
https://code.sololearn.com/cbrQA8mhyor0/?ref=app
0
TheWh¡teCat 🇧🇬 great, thank you