Sorting difficulty | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Sorting difficulty

Does exist such state of list/array orderliness, when Quicksort is not as profitable as Insertion sort? Who solved it and how? Have some suggestions on it

24th Jan 2018, 9:05 AM
Los Wakas
Los Wakas - avatar
2 Answers
+ 7
✓✓easy way ✓✓with iteration counter ✓✓running time of algorithms ✓✓please check this once https://code.sololearn.com/cY7SC8lmidwy/?ref=app
7th Feb 2018, 6:02 PM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 1
Thanks, seen this before. Any exact equation? Suggestions?
24th Jan 2018, 9:26 AM
Los Wakas
Los Wakas - avatar