### Find the Median of Two Sorted Arrays - Leet Code Solution

Problem Statement There are two sorted arrays nums1 and nums2 of size m and n…

Problem Statement There are two sorted arrays nums1 and nums2 of size m and n…

Problem Statement Given a string, find the length of the longest substring…

Problem Statement You are given two non-empty linked lists representing two non…

A number consists of digits. Example: 843. Its a 3-digit number. Radix sort…

Counting sort runs on relatively smaller set of input. Counting sort calculates…

Young Tableau A a X b matrix is Young Tableau if all rows(from left to right…

Max Priority Queue is a data structure which manage a list of keys(values). And…

Min Priority Queue is a data structure which manage a list of keys(values). And…

Problem Statement Given an array of integers, return indices of the two numbers…

This is another very useful sorting algorithm based on Heap data structure. Read…

Sorting Problems Merge Sort Quick Sort Heap Sort Bubble Sort Selection Sort…

Its a tree based data structure which is a complete binary tree(all nodes have…

Here are some tips while giving your coding interviews. 1. Never try to jump to…

Problem Statement You are given an array of integers. And, you have find the…

This algorithm is very useful for large input. And, is quite efficient one. It…

** Inversion There is an array(a) and two indexes i and j. Inversion is the…

This algorithm is very efficient one, and is classic example of Divide and…

This is kind of preliminary technique of sorting. And, this is the first…

Big-O notation In simpler terms, its kind of a unit to measure how efficient an…

It is one of a simple algorithm to study for a beginner to understanding sorting…

Its a kind of incremental insertion technique, where the algorithm build up…