Hi all, I apologize in advance if I am posting in the wrong thread as I am not very sure where I should place my questions.
Anyway, I am trying to construct a Binary Search Tree (BST) using this sentence without the quotes - 'Maths is hard and I don't want to learn any more'
Please see attached. To be honest, I am not very sure if I am doing it correctly, as I am pretty much comparing the first letter of each word, and especially on cases for 'I', as it is a one-lettered word, where or how should I done in such scenarios?
Anyway, I am trying to construct a Binary Search Tree (BST) using this sentence without the quotes - 'Maths is hard and I don't want to learn any more'
Please see attached. To be honest, I am not very sure if I am doing it correctly, as I am pretty much comparing the first letter of each word, and especially on cases for 'I', as it is a one-lettered word, where or how should I done in such scenarios?