Walmart | SDE 4 | DP + Binary Tree Question
Anonymous User
2447

Question 1 - You are given a tile of dimensions 1 * 4 and a floor of dimension 4 * n, find the number of ways in which you can cover the entire floor with the tile.

Question 2 - Given a binary tree, write the code to create a list which contains all the nodes when viewed from left.

I stumbled in the first question, second one was completed flawlessly.

Comments (5)