Programs like remove the duplicate numbers in sorted array by scanning the array only once, means {1,1,2,3,6,8,8,8,8}-->{1,2,3,6,8}, producer and consumer problem, and finding the sum of diagonal elemts in array of any size, etc
Sigiloso
take the elements in array , then look for match up among rest elements, if found then shift 1 position up the rest elements and so on.