Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [10 7 5 8 9 2 4 3 1]
- => pivot = 4
- [2 3 1] 4 [10 7 5 8 9]
- [2 3 1] [10 7 5 8 9]
- =>pivot = 1 =>pivot=8
- 1 [2 3] [7 5] 8 [9 10]
- => [1 2 3] =>[5 7 8 9 10]
- => [
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement