True. But you have two runs sorted. How are you going to get the whole array sorted? An easy solution would be merging the two runs.
True. But you have two runs sorted. How are you going to get the whole array sorted? An easy solution would be merging the two runs.
Code - functions and small libraries I use
It’s 2014 and I still use printf() for debugging.
"Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson
That's a good advice I guess!!!
Code - functions and small libraries I use
It’s 2014 and I still use printf() for debugging.
"Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson