Skip to content

Tag Archives: Sudo Placement

Given a number N, you need to find a divisor of N such that the Digital Root of that divisor is the greatest among all… Read More
Given an array of N integers and Q queries. Every query consists of L and R. The task is to print the second smallest element… Read More
Given an array of positive and negative numbers. The task is to find a partition point such that none of the elements of left array… Read More
Given a N x N matrix where value at cell (i, j) is the cost of moving from a cell (i, j) to cell (i… Read More
Given a binary search tree of n nodes with distinct values. Also given are Q queries. Each query consists of a node value that has… Read More
Given head of a linked list of integers and an integer k, your task is to modify the linked list as follows: Consider nodes in… Read More
Given N elements to be inserted into Binary Search Tree. The task is to construct a binary search tree with only insert operation and finally… Read More
You are given 3 stacks, A(Input Stack), B(Auxiliary Stack) and C(Output Stack). Initially stack A contains numbers from 1 to N, you need to transfer… Read More
Given an array of integers and a number K with initial and final values. Your task is to find the minimum number of steps required… Read More
Given q number of queries, you need to perform operations on the stack. Queries are of three types 1, 2, and 3. If the operation… Read More
Given two arrays of integers where maximum size of first array is big and that of second array is small. Your task is to find… Read More
Given an array A of N positive integers and a budget B. Your task is to decide the maximum number of elements to be picked… Read More
A Matrix series is defined as follows: M, MT, M(MT), M(MT)2, M2(MT)3, M3(MT)5, M5(MT)8 . . . . . . . ., where M is a… Read More
Given a string of lowercase characters, the task is to detect the family of string, where family of string is described as follows. ODD Palindrome… Read More
Given Q queries, with each query consisting of two integers L and R, the task is to find the total numbers between L and R… Read More