Forum: C Mar 30th, 2009 |
| Replies: 5 Views: 355 Thanks to both of you for your input. As for the error, it started off as arr1 and arr2 instead of sub1 and sub2 but I changed them to make it more apparent that they are sub arrays of a larger one,... |
Forum: C Mar 30th, 2009 |
| Replies: 5 Views: 355 I'm sorry I quickly brushed over the example on my way out the door. Thank you for your response. Now that I have time to go back and look at it, it is a little more helpful. One more question I... |
Forum: C Mar 29th, 2009 |
| Replies: 5 Views: 355 Thank you, but I had seen something similar to that in what I was reading. What I read was talking about in place algorithms (ones that don't consume extra memory, e.g. no second array for merge... |
Forum: C Mar 29th, 2009 |
| Replies: 5 Views: 355 I recently learned a little bit about sorting algorithm efficiency. I looked at the merge sort and saw how it could be implemented using a scratch array to store the result until it was finished. It... |