Once a darling of industry, the supply chain-focused Dell has lost its growth and value as a raft of new MBA leaders – mostly recruited from consultancy Bain & Company – have kept applying traditional industrial management with its cost curves and economy-of-scale illogic to a market racked by the introduction of new products such as smartphones and tablets. - Why Steve Jobs Couldn’t Find a Job Today, Forbes Blog
This is related to PHP's array .
An array has number of elements. All elements are integers and unique, which means there is no repetitive integers.
(e.g.) $foo = array(7, 5, 9, 13, 2, 8);
You have to sort the array, provided:
You should scan the elements only once. You're not allowed to compare the elements when sorting. (i.e., you're not supposed to use any comparison operators) Sorted resultant array may not be the source array.
How will you do that?
Comments