October 22, 2023

GATE 2021 CS-Set-2

Question 19 What is the worst-case number of arithmetic operations performed by recursive binary search on a sorted array of size n? A B C D […]
October 23, 2023

Algorithms

Question 48 In a binary tree, for every node the difference between the number of nodes in the left and right subtrees is at most 2. […]
October 23, 2023

Algorithms

Question 58 The subset-sum problem is defined as follows: Given a set S of n positive integers and a positive integer W, determine whether there is […]
October 24, 2023

Algorithms

Question 117 For constants a ≥ 1 and b > 1, consider the following recurrence defined on the non-negative integers: Which one of the following options […]
error: Alert: Content selection is disabled!!