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?

28th Mar 2019, 1:23 PM
Jimmy Chen
Jimmy Chen  - avatar
2 odpowiedzi
+ 19
If you want a length of given string than simply use length() method of string class.
28th Mar 2019, 8:18 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
0
i need to find the current height of this string value in the Binary tree
28th Mar 2019, 8:30 PM
Jimmy Chen
Jimmy Chen  - avatar