Continue with your mobile number
In Preorder Traversal , the root node is visited first, followed by the left subtree, and then the right subtree. This traversal method is often used for creating a copy of the tree or evaluating prefix expressions. The incorrect options: Inorder Traversal : This method visits the left subtree first, then the root node, and finally the right subtree. Postorder Traversal : In this traversal, the left subtree is visited first, followed by the right subtree, and the root node is visited last. Level-order Traversal : This method visits nodes level by level from top to bottom and left to right. Depth-first Traversal : This is a general term that includes preorder, inorder, and postorder traversal methods, but it does not specify the exact order.
In a mixture of milk & water, 20 litres water is mixed due to which ratio changes from 5 : 4 to 1 : 4. Find initial quantity of mixture. (in litres)
Sugar costing Rs. 140/kg is mixed with sugar costing Rs. 100/kg in a ratio of 6:4, respectively. Calculate the price per kg of th...
A mixture of milk and water measures 60 litres. It contains 10% water. How much water should be added to it, so that the water may be 25%?
Two types of pulses, priced at ₹80 per kg and ₹90 per kg, are mixed in a ratio such that the resulting mixture is sold at ₹107.5 per kg with a 25%...
A container contains Alcohol and water in ratio of 3:1 and Capacity of Container is 40 lit. If half of the Container is replaced with 15 lit of water th...
In a mixture, the quantity of sugar is 25% of the quantity of water. On removing 70 litres mixture and adding 10 litres each of sugar and water, the qua...
In a ‘10Y’ litres of mixture of milk and water, the quantity of milk is 60%. According to which of the following statements the value of ‘Y’ wi...
A container has 120 liters of milk and 'x' liters of water. If 25% of the mixture is removed and then 10 liters of water are added such that the quantit...
An 84-litre mixture contains 75% milk. If 'x' litres of water are added to this mixture, the quantity of milk in the resulting mixture becomes 27 litres...
From a container of Beer, a thief has stolen 25 litres of beer and replaced it with same quantity of water. He again repeated the same process. Thus in...