CODES
some learning from problems.
CODES
some learning from problems.
Showing posts with label
Adobe
.
Show all posts
Showing posts with label
Adobe
.
Show all posts
Tuesday, 2 October 2012
Re-arrange the odd/even to odd/even places
›
Given an array of integers [3,1,4,5,7,6,10,8], re arrange elements such that either even numbers in even locations or odd numbers in ...
2 comments:
Friday, 14 September 2012
Sort an Array of 0 1& 2 in one pass
›
G iven an array int a[] = {0, 1, 1 ,0, 2, 2, 1, 0 ,1, 2, 1,0 } to be converted into {0, 0, 0, 0, 1, 1, 1, 1, 1 ,2 ,2 ,2} inplace a...
›
Home
View web version