C++ code: using a Binary Search Tree structure instead of a doubly linked list

profileyxpan1996