...
August 10, 2024

CIL Part – B

Question 10 Which of the following will be the encoding of string “aabaabaca” using Huffman’s coding? A 110111011001 B 110111011111 C 110111111001 D 110011011011 AlgorithmsDynamic-Programming Question […]
August 11, 2024

TIFR PHD 2022

Question 6 Let f be a polynomial of degree n ≥ 3 all of whose roots are non-positive real numbers. Suppose that f(1) = 1. What […]
August 26, 2024

Searching

Question 2 Consider the following algorithm for searching for a given number x in an unsorted array A[1…n] having n distinct values: 1. Choose an i […]
September 1, 2024

GATE 2014 [Set-3]

Question 49 Suppose we have a balanced binary search tree T holding n numbers.  We are given two numbers L and H and wish to sum […]