Well, I didn't suggest a BST to be built In my reply #15 I suggested an O(log N) solution based on two slightly modified standard binary searches.Originally Posted by ideru
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 19
Thread: O(log n) algorithmThreaded View
|
Click Here to Expand Forum to Full Width |