Given two numbers N and r, find the value of NCr using recursion...
Given a number x, print all possible non-increasing sequences with sum equals to x....
Given two numbers x and n, find a number of ways x can be expressed as sum of n-th power of unique natural numbers....
Given an array A of size N, the task is to find the maximum score possible of this array. The score of an array is calculated by performing the following operations on the array N times:...
Given two arrays A[] and B[] of N and M integers respectively, the task is to find the maximum length of an equal subarray or the longest common subarray between the two given array....
There are some glasses with equal capacity as 1 litre. The glasses are kept as follows:...
Round 1 – Online MCQ round conducted on EduThrill which is their very own platform for conducting tests and hiring challenges. This round consisted of 30 MCQs to be solved in 30mins. These MCQs were covering topics such as OS, DBMS, C Outputs, Networking based on routing and subnetting, Aptitude, Java Output Questions. You have to be both fast as well as accurate to crack it. A total of 1000(approx.) students gave this test and only 200 qualified for the next round....
What is Recursion? The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called a recursive function. Using recursive algorithm, certain problems can be solved quite easily. Examples of such problems are Towers of Hanoi (TOH), Inorder/Preorder/Postorder Tree Traversals, DFS of Graph, etc....
Given a keypad as shown in the diagram, and an n digit number, list all words which are possible by pressing these numbers....
Given a tree, and the weights of all the node. Each query contains two integers u and v, the task is to find the minimum and maximum weight on the simple path between u and v (both inclusive)....
Given an integer N denoting the number of boxes in a pen, and two players P1 and P2 playing a game of distributing N pens among themselves as per the following rules:...