So I am blind and using a screen reader. I managed to get an idea on the structure of a binary tree through this. Using the structure of the binary tree in the answer, I managed to understand binary search trees and binary heap and how to do insertion, search and other operations on them. However, when I begin studdiing 2-3 search trees I am completely confused on how it looks. Say the structure of a binary tree looks like this:
//slashes are links
root
/ \
left right
Using this representation, I got to understand to insert, delete and search recursively in this tree.
However, when it comes to trees with three nodes and two keys, I am completely lost. I absolutely don't know how this tree should be structured, but I think it looks like this.
//slashes are links
root
/ \ /
left mid right
I am not sure if this is correct. I kept reading on how to insert nodes to it but the explanations are always using images/graphics and it's extremely hard to imagine. Can anyone explain this further?