input a binary tree of integers as a String, and check if the tree is Binary search tree?
Any piece of code ..as an example? i need to input some integers as string in a EditText, pushing a button and checking if the entry" is a BST or not.
I could only make it work like this.. but is there any possibility i could implement what i am asking about in this piece of code?
Any help is welcome
i am very stuck and i dont know what to do..
MANY THANKS IN ADVANCE!
enter code here
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)...