nn
BAN USER- 2of 2 votes
AnswerDesign a stock market system
- nn in India| Report Duplicate | Flag | PURGE
Microsoft Intern Software Design
RepYaritzaLewis, abc at 8x8
I am working as a receptionist in a Softage company. I work with the HR department to facilitate recruitment drives ...
RepJulianMiller, abc at ABC TECH SUPPORT
I am a professional auditing assistant with extensive experience in handling administrative duties and executive responsibilities associated with both internal ...
Reprginiarist, DIGITAL MARKETING at Accenture
I am Rginia Credentialing Specialists ensure that medical staff members' maintain current credentials and licenses to work legally in their ...
RepI am a Website content writer who specialises in providing relevant content for websites. Every website has a specific target ...
Repblancalross748, Android Engineer at ABC TECH SUPPORT
Hello I am a Highly-professional and talented Managing Editor with a solid experience in planning and directing editorial activities for ...
RepEliasDavis, Accountant at 8x8
I have a proven track record of success satisfying customers and serving drinks quickly and accurately. I am experienced in ...
There is no one sorting algorithm which is best in all cases
- nn January 24, 2017Counting sort is best if given number is within certain range and it also requires space bt it can be done in linear time.
If the given input is represented as linked list then merge sort will be best since it can be done in O(NlogN) time and O(1) space
If we have very few numbers and it is not sorted then quicksort will be best.
If space is a constraint and the input is almost sorted then insertion sort is best.