Start learning 50% faster. Sign in now
Let the total charge of hostel be Rs x and Variable charges is Rs y x + y/50 = 200 ……………….(i) x + y/100 = 175 ……………….(ii) By solving these equations, we get y/50 - y/100 = 25 y/100 = 25 y = Rs 2,500 Putting the value of y in eq (i), we get x + 2,500/50 = 200 x + 50 = 200 x = Rs 150 So charge per head when there are 125 boys in the hostel x + y/125 = 150 + 2,500/125 = 150 + 20 = Rs 170
Consider a Binary Search Tree (BST) with the following values inserted in sequence: 45, 32, 50, 15, 40, 47, 60. What will be the in-order traversal of t...
Appending value to list in python
In terms of processor performance, which factor has the greatest impact on reducing instruction execution time for computationally heavy applications? ...
Which of the following best describes the primary purpose of virtualization in cloud computing?
In the context of preemptive CPU scheduling, which of the following algorithms can potentially cause starvation, and how can this issue be mitigated?
What will be the output of the following code snippet?
class Animal:
def sound(self):
return "Some sound"
...
Dynamic programming is used by