Category : binary

I am starting to get the hang of binary trees and wanted to code the data structure from scratch and play around with it. Say I have this class, and the following code in the main function. Wanted some clarifications… a) TreeNode *c = new TreeNode(10); This code is effectively creating a pointer c of ..

Read more