• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Java
  • Created almost 4 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

More Repositories

1

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 . . 1
Java
3
star
2

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.
C
3
star
3

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 . .n
Java
2
star
4

ZigZag

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 3
Java
2
star
5

Print-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,....n
Java
2
star
6

PowerRecursion

Java
1
star
7

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.
Java
1
star
8

Permutation

Calculate nPr=n!/(n-r)!.
Java
1
star
9

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 array
Java
1
star
10

AnybaseSubstraction

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 b
Java
1
star
11

ExitpointMatrix

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.
Java
1
star
12

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 b2
Java
1
star
13

FirstIndex

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.
Java
1
star
14

DisplayArray

displayarray using recursion
Java
1
star
15

SpanArray

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.
Java
1
star
16

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.
Java
1
star
17

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.
Java
1
star
18

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}
Java
1
star
19

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.
Java
1
star
20

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.
Java
1
star
21

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}
Java
1
star
22

ReverseArray

Reverse the given array using recursion
Java
1
star
23

PowerLogarthmic

Given number x and n find X raise to power n .using recursive function.
Java
1
star
24

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*3
Java
1
star
25

Maximumofarray

Find the maximum value present on given array:-
Java
1
star
26

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.
Java
1
star
27

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.
Java
1
star
28

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 b
Java
1
star
29

DigitFrequency

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 n
Java
1
star
30

FindElement

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.
Java
1
star
31

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.
Java
1
star
32

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.
Java
1
star
33

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.
Java
1
star
34

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.
Java
1
star
35

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 lines
Java
1
star
36

TowerOfHanoi

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.
Java
1
star
37

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.
Java
1
star