## Best Team With No Conflicts

Problem Statement: You are the manager of a basketball team. For the upcoming tournament, you want to choose the team […]

## Wine and Maximum Price Problem

Problem Statement Imagine you have a collection of N wines placed next to each other on a shelf. For simplicity, let us […]

## Reorganize String II

Problem Statement Given a string and a number ‘K’, find if the string can be rearranged such that the same […]

## Reorganize String

Problem Statement Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.Return any possible rearrangement […]

## K Closest Points to the Origin

Problem Statement Given an array of points in a 2D plane, find ‘K’ closest points to the origin. Example: Input 1: points […]

## Kth Smallest Number in the Array

Problem Statement Given an unsorted array of numbers, find Kth smallest number in it. Please note that it is the […]

## K Largest Numbers in the Array

Problem Statement Given an unsorted array of numbers, find the ‘K’ largest numbers in it. Example: Input 1: arr: [3, […]

## Insert Interval

Problem Statement Given a list of non-overlapping intervals, insert a given interval at the correct position and merge all necessary intervals to […]

## Merge Intervals

Problem Statement Given a list of intervals, merge all the overlapping intervals to produce a list that has only mutually exclusive intervals. […]

## Minimum Window Sort

Problem Statement Given an array, find the length of the smallest subarray in the given array which when sorted will […]