#interview
Read more stories on Hashnode
Articles with this tag
I have created the above road map when I was going through Cracking the Coding Interview book's first chapter a while back. I felt that the roadmap...
You have a collection of coins, and you know the values of the coins and the quantity of each type of coin in it. You want to know how many distinct...
Problem Statement - Given a string you need to print all possible strings that can be made by placing spaces (zero or one) in between them. The output...
Problem Statement: Given the inorder and preorder traversals of a binary tree t, but not t itself, restore t and return it. We can start by taking...
Problem Statement: Given two binary trees t1 and t2, determine whether the second tree is a subtree of the first tree. Output for the above example...