Question
Ratio of the marked price of a trouser and a jacket is
5 : 7 respectively. The shopkeeper gives 30 percent discount on the trouser. If the total discount offered on both of them together is 50 percent, then what is the discount percentage offered on the jacket?Solution
ATQ, Let the MP of trouser and jacket be 5x and 7x Discount on trouser = 0.3 ร 5x = 1.5x Total discount on both = 0.5 ร (5x + 7x) = 6x โ Discount on jacket = 6x - 1.5x = 4.5x Discount% on jacket = (4.5x/7x) ร 100 = 64.28 โด Discount on jacket = 64.28%
Dynamic Programming is preferred over recursion when:
What is the primary purpose of normalization in database design?
Which data structure is typically used to implement Breadth-First Search (BFS)?
Which of the following is true for Dijkstraโs algorithm?
Which component of a network ensures that data is delivered to the correct host in a multi-host environment?
Which of the following is true for a min-heap?
What is the worst-case time complexity of Bubble Sort?
Which algorithm is best suited to find the shortest path in a graph with negative edge weights but no negative cycles?
Which type of firewall operates at the application layer of the OSI model and inspects incoming and outgoing data packets?
What is the primary role of a hypervisor in a virtual machine (VM) environment?