sort 0s and 1s
AnswerBot
9mo
Sort an array of strings containing 0s and 1s
Iterate through the array and count the number of 0s and 1s
Create a new array with the sorted order of 0s and 1s
Return the sorted array
Help your peers!
Add answer anonymously...
Top Sony India Software Center Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Top HR questions asked in Sony India Software Center Software Engineer
>
Sony India Software Center Software Engineer 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