Question
In a depth-first traversal of a tree or graph, what
data structure is typically used to keep track of nodes to be visited next?Solution
Stack
The ratio of males and females in a zoo is 3:5 respectively and the percentage of children among males and the percentage of children among females are ...

Ratio of income of A and B is 7:5 and the ratio of expenditure of A and B is 2:3. The savings of B is Rs.3500. If the expenditure of A gets double then...
- The ratio of men to women in a club is 3:2. If the number of men was 18 less and the number of women was 12 more, then both would be equal in number. Find ...
Ravi divided a sum of money among Aryan, Kiran and Rohan in the ratio 5:7:13 respectively. 70% of Aryan’s share is Rs. 210 less than 50% of Rohan’s ...
- Mixture X has milk and water in the ratio 5:3, while mixture Y has them in the ratio 4:5. 64 litres of X and 45 litres of Y are combined. What is the ratio...
- 720 sweets are divided among four kids in the ratio (1/5):(1/6):5:9. The second highest recipient got how many more sweets than the lowest recipient?
In what ratio should coffee powder costing Rs 2500/kg be mixed with coffee powder costing Rs 1500/kg so that the cost of the mixture is Rs 2250/kg?
A is thrice as efficient as B and C is twice as efficient as B. What is the ratio of number of days taken by A, B and C when they work individually?
- X, Y, and Z distribute a certain sum among themselves. The average share is Rs. 4860. X receives 12.5% more than Y, and 25% less than Z. What is the share ...