Print-decreasing
using recursive function Condition:- give a +ve number n; required to print n to 1; with recursive method not iterative method; input format:-a number n output format:- n n-1 n-2 . . 1FactorialRecursion
Comparative-Analysis-of-String-Matching-Algorithms-on-GenomicData-
Utilizing genomic information, to contemplate the DNA succession of a people's predecessors can assist us with recognizing which maladies or other ailments an individual is probably going to create. Additionally these assistance in understanding the things which somebody may be adversely affected by. All of genomic data is a sequence of AGCT, these sequences make up the entire information stored in our DNA.PrintDecreasingIncerasing
Condition:- give a +ve number n; required to print n to 1; with recursive method not iterative method; input format:-a number n output format:- n n-1 n-2 . . 1 1 2 3 . .nZigZag
To clear the concept of Euler Path in recursion and gives us an understanding of the memory while using recursive codes. Input:-3. Output:- 3 2 1 1 1 2 1 1 1 2 3 2 1 1 1 2 1 1 1 2 3Print-Increasing
using recursive function Condition:- give a +ve number n; required to print 1 to n; with recursive method not iterative method; input format:-a number n output format:- 1,2,3,4,....nPowerRecursion
BarChart
1. You are given a number n, representing the size of array a. 2. You are given n numbers, representing elements of array a. 3. You are required to print a bar chart representing value of arr a.Permutation
Calculate nPr=n!/(n-r)!.All_IndicesArray
Given an array arr of size N and an integer X. The task is to find all the indices of the integer X in the arrayAnybaseSubstraction
you are given a base b. you are given two number n1 and n2 of base b. you are required to print substraction of the number in base bExitpointMatrix
1. You are given a number n, representing the number of rows. 2. You are given a number m, representing the number of columns. 3. You are given n*m numbers (1's and 0's), representing elements of 2d array a. 4. Consider this array a maze and a player enters from top-left corner in east direction. 5. The player moves in the same direction as long as he meets '0'. On seeing a 1, he takes a 90 deg right turn. 6. You are required to print the indices in (row, col) format of the point from where you exit the matrix.AnyBaseToAnyBase
you are given a number n. you are given base b1 and b2 . you are req to convert the number n of base b1 into a number in base b2FirstIndex
you are given a number n, representing the count of element .you are given n number . you are given a number x. you are required to find the first index in array at which x occurs in a array. If x exists in array ,print first index else print -1.DisplayArray
displayarray using recursionSpanArray
1. You are given a number n, representing the count of elements. 2. You are given n numbers. 3. You are required to find the span of input. Span is defined as difference of maximum value and minimum value.GetkeypaidCombination
Given a keypad of a mobile, and keys that need to be pressed, the task is to print all the words which are possible to generate by pressing these numbers.Inverse_Of_-An_Array
1. You are given a number n, representing the size of array a. 2. You are given n numbers, representing elements of array a. 3. You are required to calculate the inverse of array a.Abbreviation
you are given a word .you have to print all the abbreviation of the word. SampleInput- pep SampleOutput-{pep,pe1,p1p,p2,1ep,1e1,2p,3}RotateMatrix
1. You are given a number n, representing the number of rows and number of columns. 2. You are given n*n numbers, representing elements of 2d array a. 3. You are required to rotate the matrix by 90 degree clockwise and then display the contents using display function.AnybaseToDecimal
you are given a decimal number n. you are given base b. you are req to convert the anybase value into its corresponding decimal.GetSubsequence
you are given string str and you need to find the subsequence of that string using arraylist concept:-SampleInput=abc, SampleOutput={abc,ab,ac,a,bc,b,c}ReverseArray
Reverse the given array using recursionPowerLogarthmic
Given number x and n find X raise to power n .using recursive function.SolveSudoku
i)given partially filled 9*9 2-d array which represent the incomplte sudoku state ii)you are req to assign digit fro 1 to 9 to empty cells rules:- a)1-9 occure once in each row and col b)1-9 occure once in each submatrix 3*3Maximumofarray
Find the maximum value present on given array:-SumOfArray
1. You are given a number n1, representing the size of array a1. 2. You are given n1 numbers, representing elements of array a1. 3. You are given a number n2, representing the size of array a2. 4. You are given n2 numbers, representing elements of array a2. 5. The two arrays represent digits of two numbers. 6. You are required to add the numbers represented by two arrays and print the arrays.RotateArray
1. You are given a number n, representing the size of array a. 2. You are given n numbers, representing elements of array a. 3. You are given a number k. 4. Rotate the array a, k times to the right (for positive values of k), and to the left for negative values of k.AnybaseAddition
you are given a base b.you are given two number n1 and n2 of base b. you are required to print total or addition of the number in base bDigitFrequency
1.you are given a number n. 2.you are given a digit d. 3. you are req to find the frequency of digit d in number nFindElement
1.You are given a number n, representing the size of array a. 2.You are given n distinct numbers, representing elements of array a. 3. You are given another number d. 4. You are required to check if d number exists in the array a and at what index (0 based). If found print the index, otherwise print -1.SubSet
1. You are given a number n, representing the count of elements. 2. You are given n numbers. 3. You are required to print all subsets of arr. Each subset should be on separate line. For more clarity check out sample input and output.GetStairsPath
1. You are given a number n representing number of stairs in a staircase. 2. You are standing at the bottom of staircase. You are allowed to climb 1 step, 2 steps or 3 steps in one move. 3. Complete the body of printStairPaths function - without changing signature - to print the list of all paths that can be used to climb the staircase up. Use sample input and output to take idea about output.DifferenceOfArray
1. You are given a number n1, representing the size of array a1. 2. You are given n1 numbers, representing elements of array a1. 3. You are given a number n2, representing the size of array a2. 4. You are given n2 numbers, representing elements of array a2. 5. The two arrays represent digits of two numbers. 6. You are required to find the difference of two numbers represented by two arrays and print the arrays. a2 - a1 Assumption - number represented by a2 is greater.LastIndex
you are given a number n, representing the count of element . you are given a number x. you are required to find the last index at which x occurs in a array. If x exists in array ,print last index where it is found else print -1.Subarray
1. You are given an array of size 'n' and n elements of the same array. 2. You are required to find and print all the subarrays of the given array. 3. Each subarray should be space seperated and on a seperate linesTowerOfHanoi
Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules: Only one disk can be moved at a time. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack. No disk may be placed on top of a smaller disk.GetMazePaths
1. You are given a number n and a number m representing number of rows and columns in a maze. 2. You are standing in the top-left corner and have to reach the bottom-right corner. Only two moves are allowed 'h' (1-step horizontal) and 'v' (1-step vertical). 3. Complete the body of getMazePath function - without changing signature - to get the list of all paths that can be used to move from top-left to bottom-right.Love Open Source and this site? Check out how you can help us