We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My output is also same
1 2
1 2 3
8 9
7 8 9
1 2 3 5 7 8 9
and i think its fundamentally correct;
what here has been done is wrong.
As when we will first apply algo we will get 3 2 1 5 7 9 8 whereas in this diagram they are showing it differently
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Quicksort 2 - Sorting
You are viewing a single comment's thread. Return to all comments →
My output is also same 1 2 1 2 3 8 9 7 8 9 1 2 3 5 7 8 9 and i think its fundamentally correct; what here has been done is wrong. As when we will first apply algo we will get 3 2 1 5 7 9 8 whereas in this diagram they are showing it differently