- 0of 0 votes
Consider a plate stacked with several disks, each of a different diameter. We want to sort these disks in decreasing order according to their diameter so that the widest disk is at bottom of the pile. The only operation available for manipulating the disks is to pick up a stack of them from the top of the pile and invert that stack.- mohit May 05, 2012 in India
Give an algorithm for sorting the disks using this operation.
| Report Duplicate | Flag | PURGE
Interview Type: Written Test
Open Chat in New Window