The tiniest C sort function?
cs.dartmouth.edu
The tiniest C sort function?
1–5 of 5 posts
Re: The tiniest C sort function?
#2I much prefer readable code.
Re: The tiniest C sort function?
#3Why the hell is recursion considered cheating?
Re: The tiniest C sort function?
#4Why the hell is recursion considered cheating?
Use of recursion isn't the part that's cheating. It's that the recursive function uses a dummy argument to avoid allocating a temporary variable so it doesn't have the same signature as the other functions and it requires the caller to allocate space for the dummy variable.
Re: The tiniest C sort function?
#5So people is this really the tiniest?