Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content
An Van
What language are the text written for?

An Van

Aug 1, 2024

For the BST lesson, I think the written text is meant for C++ other language instead of Python. As it is saying Search() is using recursion, while the Python code is using Iteration I'm pretty sure. Just thought I should point out, because it might be confusing for some people

2

0

Comments
Comments
Jan Carlos Dominguez
Jan Carlos Domingueza year ago

The text is with C++ examples in mind. The comparison of each node value in the Java example is against 0 which for me doesn't make any sense. In C++ makes more sense.