Well, it certainly looks suspicious. Still what you suggest is not equivalent to the original code.
In the original code if node is neither root nor prev->left then deleteByMerging(prev->right)...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: razzle Search: Search took 0.03 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |