DEV Community

Discussion on: 6-10PM challenge problem #001

Collapse
 
akbhairwal profile image
akbhairwal

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