DEV Community

loading...

Discussion on: 6-10PM challenge problem #001

Collapse
akbhairwal profile image
akbhairwal Author

oh Sorry... I should make it language independent..
I think it can be done in single array iteration and having two pointer for swapping