+ 2
This code
can you find an error and make it correct 🙂 https://code.sololearn.com/c9Y8D6GxxAkz/?ref=app
5 Answers
+ 2
Jayakrishna🇮🇳 i commented temp array coz i I'm printing directly array after it does satisfies // ==
+ 1
Line 48:
b[i-arr.length/2] = arr[i-1]; // i-1, not i
+ 1
Jayakrishna🇮🇳 it still doesn't give me the desired output
+ 1
Jayakrishna🇮🇳 i found an issue it worked finally thanks you
+ 1
That's fine. But why you commented temp array..? Make use of it works..
You're welcome..