Given an integer array segregate odd and even numbers without using another array
AnswerBot
22d
Segregate odd and even numbers in an integer array without using another array
Iterate through the array and maintain two pointers, one for odd numbers and one for even numbers
Swap elements at the odd ...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Senior Java Developer
>
Devon Software Services Senior Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app