Create a class called BstIterator which has two methods, hasNext() which returns a if the BST has the next smallest element, and | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Create a class called BstIterator which has two methods, hasNext() which returns a if the BST has the next smallest element, and

In java program

5th Sep 2021, 8:37 AM
Dasari Krishna
Dasari Krishna - avatar
3 Answers
+ 2
@Martin Taylor I assume he meant Binary Serach Tree
5th Sep 2021, 12:51 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
You know the saying about when you assume... you make an ASS out of U and ME đŸ€Ș
5th Sep 2021, 11:08 PM
Paul K Sadler
Paul K Sadler - avatar