Question
Two numbers M and N are in the ratio 8:11 respectively.
If 32 is added to M, the result becomes 80% of N. Find the square of the difference between M and N.Solution
Let M and N be 8x and 11x respectively
ATQ:
8x + 32 = (80/100) × 11x
8x + 32 = 8.8x
8.8x - 8x = 32
0.8x = 32
x = 40 So, M = 8 × 40 = 320
N = 11 × 40 = 440
Difference = 440 - 320 = 120
Required number = 120² = 14400
In HTTP request methods, which of the following methods is not idempotent ?Â
In a Max-Heap, what is the relationship between a parent node and its children?
What is the time complexity for performing enqueue and dequeue operations on a queue implemented using a linked list?
Consider the following C++ code:
  class Base {
  public:
    void show() { std::cout << "Base::show" << std::endl;...
The output of the circuit below is _______
What is the time complexity for inserting an element into a binary heap?
What is the best case time complexity of merge sort?
In a system using the Least Recently Used (LRU) page replacement algorithm, which of the following statements holds true?Â
What were the early operating systems commonly known as, and what was their primary function?
Which collision resolution technique involves storing collided elements in a linked list at the hash table index?