Question
The average of a set of 's' numbers is 50. If 120 is
added to the set, then the average of the set becomes 50.4. Find the value of '4 X (s - 20)'.Solution
Sum of all 's' numbers = 50s
ATQ:
(50s + 120) / (s + 1) = 50.4
Multiplying both sides by (s + 1):
50s + 120 = 50.4(s + 1)
50s + 120 = 50.4s + 50.4
120 - 50.4 = 50.4s - 50s
69.6 = 0.4s
s = 174
4 X (s - 20):
4 X (174 - 20) = 4 X 154 = 616
Which tree traversal gives nodes in non-decreasing order for a BST?
- Internet of Things (IoT)
In an IoT ecosystem, which protocol is most efficient for constrained devices communicating over lossy networks?
... Fibonacci Heaps support Decrease-Key in:
Which data structure is used for undo operations in text editors?
Which design pattern is best suited for managing the creation of objects without specifying their concrete classes?
Which algorithm is used for shortest path in graphs?
Which traversal method visits the root node first in trees?
Deletion in Red-Black Tree may require:
In asymmetric encryption, which of the following statements is correct?
Which search algorithm is complete but not always optimal?