### How to prepare for your next Coding Interview

Here are some tips while preparing for your coding interviews. 1. Do study or…

Here are some tips while preparing for your coding interviews. 1. Do study or…

This problem is a simple mathematical calculation. Lets start deriving some…

Problem Statement Implement atoi which converts a string to an integer…

Problem Statement Determine whether an integer is a palindrome. An integer is a…

Problem Statement The string “PAYPALISHIRING” is written in a zigzag pattern on…

Problem Statement Given a signed integer, reverse digits of an integer. Return…

Problem Statement Given a string s, find the longest palindromic substring in s…

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…

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

Max 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…