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
i am a zend novice and in desperate need of someone's help in learning zend. I understand the layering of the framework but get confused as to put which file where. Can u please direct me to an authentic,tutorial not documentation but tutorial for a fresh starter like me
Because so far the tutorials that i have come across are not proper in the sense it produces errors.Please help.thanks
Am preparing for my Zend certification. I do have 1 year of experience in PHP so could u help me in the preparation for my certification.
Thanks
Ramya.C