## Insertion Sort Algorithm

The insertion sort algorithm is a simple and efficient sorting algorithm. In this algorithm, we “insert” each element into it’s sorted position. We consider two

## Euclid Algorithm

The Euclid Algorithm is used to find the GCD (Greatest Common Divisor) of two numbers i.e. the largest number the divides both the numbers. For

## Coding Challenge Day- 34: Problem 1: Print a Pyramid Pattern for a given number of rows

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-33: Problem 2: Post-Order Traversal of Binary Tree

Hello! So I’m doing a coding challenge where I solve a few questions every day and thought of posting them here on my blog so

## Coding Challenge Day- 33: Problem 1: Pre-order Traversal of a Binary Tree

Hello! So I’m doing a 100 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-32: Problem 2: Zigzag Conversion

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 32: Problem 1: Nearest Smallest Element to the Right in an Integer array

Hello! So I’m doing a 100 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 31: Problem 2: Nearest Smallest Element to the Left in an Integer array

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 31: Problem 1: Nearest Greatest Element to the Left in an Integer array

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-30: Problem 2: Nearest Greater to right

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-30: Problem 1: Check if parenthesis in expression are balanced

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 29: Problem 1: Array representation of complete Binary Tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-28: Problem 1: Building a GUI in Java

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-27: Problem 1: TicTacToe Game

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day 26- Problem 1: Word Guess Game

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-25: Problem 1: Replace nth occurance of a substring in a String

Hello! So I’m doing a 100 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 24: Problem 1: Push ‘null’ to end of String array

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day 23: Problem 2: Scramble or Remove

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 23: Problem 1: Scramble List

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 22: Problem 1: Find length of linked list (Recursive)

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 21: Problem 2: Reverse each word of String

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 21: Problem 1: The Stock Span Problem

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day 20- Problem 1: Convert a given number to it’s Roman numeral equivalent

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-19: Problem 2: Find second largest number in integer array

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-19: Problem 1: Swap two numbers without using third variable

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 18: Problem 2: Implement Merge Sort

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-18: Problem 1: Check if given Tree is Binary Search Tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 17: Problem 2: Generate an integer array with random numbers

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 17: Problem 1: How to find all pairs in array integer whose sum is equal to a given number

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-16: Problem 1: Deleting leaf node in a Binary Search Tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-15: Problem 2: Insert an element in a Binary Search Tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-15: Problem 1: Search for element in Binary Search Tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 14: Problem 1: Find the level that has maximum number sum in the Binary tree

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-13: Problem 2: The FizzBuzz Problem

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-13: Problem 1: Level-order traversal of a Binary tree

Hello! So I’m doing a 100 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 12: Problem 2: Reverse The String With Preserving The Position Of Spaces

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day- 12: Problem 1: Find the duplicate words and their number of occurrences in a string

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day 11- Problem 1: Palindrome String

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-10: Problem 1: Display the kth smallest element in an integer array

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-9: Problem 2: Find whether a given number is a power of three

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-9: Problem 1: Find first non-repeating character in String

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day 8: Problem 2: Binary Search

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge 8: Problem 1: Check whether a Matrix is a Latin Square or not

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day 7: Problem 3: Convert given Matrix into sorted Spiral Matrix

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-7: Problem 2: Find character(s) with maximum recurrence in a string

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day 7: Problem 1: Calculate height of a Binary Tree

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-6: Problem 2: Program to Interchange Diagonals of Matrix

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-6: Problem 1: Find the product of sum of two diagonals of a square Matrix

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-5: Problem 2: Check if one string is a rotation of another

Hello! So I’m doing a 30 day coding challenge where I solve a few questions everyday and thought of posting them here on my blog

## Coding Challenge Day-5: Problem 1: If an element in an MxN matrix is zero, it’s entire row and column are set to zero

Hello! So I’m doing a 30 day coding challenge where I solve a few questions every day and thought of posting them here on my

## Coding Challenge Day-4: Problem 3: Rotate Image(matrix) by 90 degrees

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-4: Problem 2: Replace all spaces in a string with ‘%20’

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-4: Problem 1: Perform basic string compression using counts of repeated characters

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-3: Problem 3: Search for an element in a Binary tree

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-3: Problem 2: Find maximum the element in a Binary tree

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-3: Problem 1: Check if two strings are permutation of each other

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-2: Problem 3: Reverse a String

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-2: Problem 2: Determine if a String has all unique characters

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-2: Problem 1: Find missing number in integer array from 1 to 100

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my

## Coding Challenge Day-2: Problem 2: Evaluate a given posfix expression

Hello! So I’m doing a 30 day coding challenge where I solve a few questions everyday and thought of posting them here on my blog

## Coding Challenge Day-1: Problem 1: Check Balanced Expression

Hello! So I’m doing a 30 day coding challenge where I solve around 3-5 questions per day and thought of posting them here on my