Q1.Minimum Cost to Destination You have been given an N*M matrix where there are 'N' rows and 'M' columns filled with '0s' and '1s'. '1' means ... read more
Q2.Fix BST Given a Binary Search Tree, where exactly two nodes of the same tree were swapped by mistake. The task is to restore or fix the BST,... read more
Q3.Water Jug Problem You are given two water jugs with capacities X and Y litres respectively. Both the jugs are initially empty. There is an i... read more