In the coming articles, we will discuss problems related to ‘Longest Increasing Subsequence’. Before proceeding further, let us understand the

Continue reading# Category: Data Structure

## Minimum in Rotated Sorted Array

Problem Statement: Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For

Continue reading## Container with most water

Problem Statement: Given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i,

Continue reading## Contains Duplicate : Check if a value appears atleast twice

Problem Statement: Given an integer array nums, return true if any value appears at least twice in the array, and return

Continue reading## Word Search – Leetcode

Given an m x n grid of characters board and a string word, return true if the word exists in

Continue reading## Merge k Sorted Arrays

Problem Statement: You are given an array of k linked-lists lists, each linked list is sorted in ascending order. You need

Continue reading## Reorder List

Problem Statement: You are given the head of a singly linked list. The list can be represented as : L0

Continue reading## Implement K stacks in a single Array

Problem Statement: Design a data structure to implement ‘N’ stacks using a single array of size ‘S’. It should support

Continue reading## Check if Binary Tree is BST

Problem Statement: You are given the root of a binary tree. The task is to determine if the given binary

Continue reading## Heap Sort

Heap sort is a sorting algorithm that sorts data in ascending or descending order using the input data. It is

Continue reading