reverse number effiecient way

Sep 23 2014 11:02 AM

I need to reverse odd number in a list and even number in another list, I have give input as 1,2,3,4,5, and so on can any one please suggest me an efficient way to do this?

 


Answers (4)