Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Day before N days

Last Digit of a Number

Sum of Natural Numbers

Arithmetic Progression

Geometric Progression

Even Odd Game

Largest of Three Numbers

Leap Year

Simple Calculator

First Digit of a Number

Prime Factorization

Patterns

Triangle Pattern

Inverted Triangle pattern

Square Pattern

Count Digits of a Number

All Divisors of a Number.

Factorial of A Number.

GCD of Two Numbers

LCM of Two Numbers

Fibonacci Numbers

Check for Prime

Table of a Number

Finding Next Prime Number

Permutation Combination

Check if Array is Sorted

Count Distinct in an Array

Sum of an Array elements

Average of an Array elements


Largest element in an Array

Reverse a String

Check for Palindrome

Pattern Searching

Find one extra character in string

Pangram checking

Check whether two strings are anagram of each other

Sample Problem Vector (k is given)

Separate Even And Odd numbers in a Vector

Transpose of a Matrix

Matrix Multiplication

Missing number in array

Check if diagonal elements are same in matrix

Vowel counting string

Move hashes to front string

Max frequency element array

Unique elements array

Frequency of repeating elements array

Repeating elements array

Second largest element in array

Reverse an array

Remove duplicates from array

Left rotate array by one

Left rotate array by D places

Move zeroes to the end

Binary search

Square root

Bubble sort

Matrix snake pattern


Matrix boundary traversal

Rotate matrix by 90 anti clockwise by degree

Spiral traversal of matrix

Search in row wise column wise sorted matrix

You might also like