0
how can we find the height of specified String in the binary search tree in java
I am wondering if a method like this Public int height(String name) { } How do we implement this method to get the specified height of this input parameter?
2 Réponses
+ 19
If you want a length of given string than simply use length() method of string class.
0
i need to find the current height of this string value in the Binary tree