In Mathematics, the differential equation, is of particular importance. The solution of the equation is a function of the parameter . For integral and half-integral… Read More »

In C programming language, the variables should be declared before a value is assigned to it. For Example: // declaration of variable a and //… Read More »

Given a binary search tree and a target node K. The task is to find the node with the minimum absolute difference with given target… Read More »

Given an array of N positive (32-bit)integers, the task is to answer Q queries of the following form: Query(L, R, K): Print the number of… Read More »

Vieta’s formula relates the coefficients of polynomial to the sum and product of their roots, as well as the products of the roots taken in… Read More »

Given a number N, find the number of distinct prime factors for all numbers in the range [1, N]. Examples : Input : N =… Read More »

My friend in Amazon referred me for the job . I was approached by the HR and after lots of delay (1 month), I was… Read More »

Round 1: Written Test : It consisted of aptitude, Java/C++ questions(based on profile), Questions on DS/Algo (have to code on online compiler). Round 2: Technical… Read More »

Given a list of sorted characters consisting of both Uppercase and Lowercase Alphabets and a particular target value, say K, the task is to find… Read More »

Informatica conducted campus recruitment drive for 1 year internship for CSE and IT students. 345 students were selected to appear for this drive (probably they have… Read More »

Given an integer N. Find the minimum number of square free divisors. In other words, the factorization of N should comprise of only those divisors… Read More »

Prerequisite – Solving Recurrences, Different types of recurrence relations and their solutions, Practice Set for Recurrence Relations The sequence which is defined by indicating a… Read More »

Data Mining – Knowledge Discovery in Databases(KDD). Why we need Data Mining? Volume of information is increasing everyday that we can handle from business transactions,… Read More »

Given a binary string and k, to check whether it’s contains all permutations of length k or not. Examples: Input : Binary string 11001 k… Read More »

Prerequistie: Operators in C# The concept of overloading a function can also be applied to operators. Operator overloading gives the ability to use the same… Read More »

Given a Binary Search Tree which is also a Complete Binary Tree. The problem is to convert a given BST into a Special Max Heap… Read More »

Suppose there are n towns connected by m bidirectional roads. There are s towns among them with a police station. We want to find out… Read More »

Given an array of N numbers and Q queries, each query consists of L and R. We need to write a program that prints the… Read More »

Given a number ‘n’, generate the first ‘n’ terms of the Smarandache-Wellin Sequence. The Smarandache-Wellin Sequence is a sequence formed by the Smarandache-Wellin numbers. Each… Read More »

Given a string, print and count all prefixes in which first alphabet has greater frequency than second alphabet. Take two alphabets from the user and… Read More »