Description Submission
HackerRank Learning Curve
Learning HakerRank – Problem Solving To be Relearned Java SQL
Is This a Binary Search Tree?
Description Submission The special case should be considered References https://www.geeksforgeeks.org/a-program-to-check-if-a-binary-tree-is-bst-or-not/
Swap Nodes [Algo]
Description Submission Level-Order Traversal InOrder Traversal
C++11 decltype
decltype is used to get the type of a expression Considering the following function For the following 2 invocations The results will be different, To […]
Tree: Huffman Decoding
Description Submission If ‘0’, go left, if ‘1’, go right. If it is a leaf node, get the charater. Background Knowledge Huffman Coding Priority Queue […]
Binary Search Tree : Lowest Common Ancestor
Description Submission
Tree: Level Order Traversal
Submission Submission Using iterator for level order traversal is error-prone Using index is better