# InterviewBit Problems

Jelly Beans Jars : Solved Good Ranges : Solved Height of every node in a tree : Unsolved Valid Email Address : Solved Sort stack using another stack : Unsolved Two out of Three : Unsolved Find the Defective Ball II : Solved Subarrays Xor less Than B : Unsolved Balance Array : Unsolved Minimum Difference Subsets! : Unsolved Gates of Heaven : Unsolved KEEP SWAPPING : Unsolved Design Messenger : Solved Vowels : Unsolved Clone a linked list : Unsolved Count Complete Tree Nodes : Solved Starting indices of the substrings in s : Unsolved Numbers with most occurences : Unsolved Task Scheduler : Solved Sort by Color : Solved Itertools: Terminating Iterators : Unsolved Burn a Tree : Unsolved TEMPLATES : Unsolved Sum binary tree or not : Unsolved CHOOSE4 : Unsolved Distribute candies : Unsolved Math methods in JS : Solved Subarrays with B Different Integers : Unsolved QUIRKS MODE : Solved Implement StrStr : Unsolved Special Integer : Solved Daughters' Ages : Solved Merge Two Sorted Lists II : Unsolved Common Nodes in Two Binary Search Trees : Solved Subarrays Xor less Than B : Solved Points on the Straight Line : Solved Height of every node in a tree : Solved KEEP SWAPPING : Solved Merge K sorted arrays! : Solved Valid phone number : Solved Count Total Set Bits : Solved WiFi Routers : Unsolved Number of sextuplets (or six values) th : Unsolved ARRAY_2D : Solved Unique Binary Search Trees : Unsolved The Sequence game : Unsolved WiFi Routers : Solved Water Flow : Unsolved Count Delete : Unsolved Distance between Nodes of BST : Solved Valid Email Address : Unsolved LOOP_CMPL2 : Solved 0/1 String : Solved Number of Hosts per Subnet : Unsolved Distribute candies : Solved Next Greater Circular Array! : Unsolved Prime Numbers : Solved Rotated Sorted Array Search : Unsolved Shortest Distance in a graph with two d : Solved Spider's Web : Unsolved Valid Number : Solved NESTED_CMPL : Solved Minimum Number of Refueling Stops : Unsolved Longest Palindromic Subsequence : Solved maximum sum of array with no repeating : Unsolved Palindromic Substrings Count : Unsolved Micro and Lucky Tree : Unsolved Sort stack using another stack : Solved Max Product Subarray : Solved Clone a linked list : Solved REC_CMPL1 : Unsolved Pointers to Array : Unsolved Balanced Binary Tree : Solved Paint House! : Solved Numbers with most occurences : Solved Sorted Insert Position : Unsolved Subset Sum Problem! : Unsolved Puts for Print : Unsolved TEMPLATES : Solved Transpose File : Solved Size three subsequences divisible by B : Unsolved Chocolate Distribution : Unsolved Subarrays with B Different Integers : Solved EDIBLE STRINGS : Unsolved Next Greater Circular Array! : Solved Job Sequencing : Solved Another Coin Problem : Solved Number of Hosts per Subnet : Solved Math methods in JS : Unsolved Valid Binary Search Tree : Unsolved Thread : Solved GCD_CMPL : Solved QUIRKS MODE : Unsolved Convert an arbitrary Binary Tree to a t : Solved maximum sum of array with no repeating : Solved Spinning Disc's Direction : Solved Count Delete : Solved Find Rectangle in binary matrix : Unsolved Spinning Disc's Direction : Unsolved Treasure Hunt : Unsolved Color of the last ball : Unsolved NESTED_CMPL2 : Solved Maximum Depth : Unsolved Equilateral Triangles using Toothpicks : Solved Distinct Primes : Solved Egg Drop Problem! : Unsolved Good Subarrays : Unsolved Arithmetic operators on Numbers : Solved Micro and Lucky Tree : Solved Is Rectangle? : Solved Divide the Cake : Solved Convert to Palindrome : Unsolved Min Steps in Infinite Grid : Unsolved Maximum difference between two elements : Unsolved JavaScript Strings : Solved Color of the last ball II : Unsolved World Trips : Solved Genie and Hats : Solved Going back to OS : Solved Next Permutation : Solved Regex in JS : Unsolved Cycle in Undirected Graph : Unsolved Best Time to Buy and Sell Stocks II : Unsolved Measure Time by Hourglass : Solved Arrange Cubes : Solved Activity Selection : Unsolved MATH_BUG01 : Solved Cats and a Square : Solved Thread : Unsolved Maximum Depth : Solved Transpose File : Unsolved Meeting rooms : Solved EDIBLE STRINGS : Solved Activity Selection : Solved First Repeating element : Solved Make a Statement : Solved Two Numbers : Solved Diffk II : Solved LONGEST COMMON SUBSTRING : Unsolved Helium Balloon : Solved CHOOSE3 : Solved Flip Counter : Solved Minimum Number of Refueling Stops : Solved Longest Common Prefix : Solved Swap List Nodes in pairs : Unsolved Good Subarrays : Solved Numbers of length N and value less than : Solved RECTANGLE SUM : Unsolved Number of sextuplets (or six values) th : Solved Arithmetic operators on Numbers : Unsolved Train Station : Solved Sum binary tree or not : Solved Search in Bitonic Array! : Unsolved Palindrome Partitioning : Solved Helium Balloon : Unsolved Min Elevator Trips : Unsolved Max Product Subarray : Unsolved Good Processor : Unsolved Quarters on a Table : Solved Divisor Sequences : Solved Divide Gold Bar : Unsolved Max Sum Path in Binary Tree : Unsolved Validating Email Address using Filter : Solved Blindfolded Coin Toss : Unsolved World Trips : Unsolved Maximum difference between two elements : Solved Next Number : Solved Gates of Heaven : Solved Reverse integer : Solved Ways to make array non decreasing : Unsolved Cross the Bridge II : Solved BALLS IN BOXES : Unsolved Measure Milk by Cans : Solved Binary Tree Paths : Unsolved Maximum level sum : Solved Measure Time by Burning Ropes : Unsolved JavaScript Strings : Unsolved Rook Movement : Unsolved Invert the Binary Tree : Solved Find Rectangle in binary matrix : Solved Blindfolded Coin Toss : Solved Color of the last ball : Solved Celebrity Problem : Unsolved Six Colored Cubes : Unsolved Last Palindromic Date : Solved Reverse Alternate K Nodes : Unsolved Binary Tree Paths : Solved Palindrome Partitioning II : Solved Cats and a Square : Unsolved RECTANGLE SUM : Solved Next Number II : Unsolved Longest path in a subtree : Unsolved Bee Travel : Unsolved Copy List : Unsolved REC_CMPL1 : Solved Max Sum Without Adjacent Elements : Solved LONGEST COMMON SUBSTRING : Solved Two Numbers : Unsolved Capture Regions on Board : Unsolved Arithmetic operators on Strings : Solved Right view of Binary tree : Solved Find the Defective Ball II : Unsolved Loops : Solved Letter Phone : Solved Palindromic Substrings Count : Solved Max Non Negative SubArray : Unsolved Roads and Libraries : Unsolved Remove Duplicate Letters : Solved One Mile on the Globe : Solved EZPZ : Solved Deterministic Finite Automaton : Unsolved Deterministic Finite Automaton : Solved Scores : Solved Region in BinaryMatrix : Unsolved Matrix Search : Unsolved Trailing Zeroes : Unsolved Byes : Unsolved Regex in JS : Solved Distinct Initial Matrices : Solved Rook Movement : Solved Tiling With Dominoes : Solved Snake Ladder Problem! : Solved Cross the Bridge II : Unsolved Ants on a Triangle : Unsolved Minimum cost to connect cities : Unsolved BALLS IN BOXES : Solved Max Non Negative SubArray : Solved Chocolate Distribution : Solved Max Continuous Series of 1s : Unsolved Design Messenger : Unsolved ARRAY_BUG : Solved Celebrity Problem : Solved Longest Increasing Subsequence : Solved Last Palindromic Date : Unsolved DEVICE CROSSOVER : Solved Add Binary Strings : Solved Remove Invalid Parentheses : Unsolved Burst Balloons : Unsolved Ways to make array non decreasing : Solved Minimum cost to connect cities : Solved Increasing SubArrays : Solved Modular Expression : Solved INVERSIONS : Unsolved Remove Invalid Parentheses : Solved Dinner Hand Shakes : Solved Evaluate Expression : Solved Divide Gold Bar : Solved Burst Balloons : Solved City Tour : Solved Distinct Initial Matrices : Unsolved Shortest Path in Simple Graph : Unsolved Longest path in a subtree : Solved First Missing Integer : Solved Arithmetic operators on Strings : Unsolved Cross the Bridge : Unsolved Sum Root to Leaf Numbers : Unsolved Square Root of Integer : Unsolved Transform CSV : Solved Conditional or Ternary Expression : Unsolved AMORTIZED1 : Unsolved Increasing SubArrays : Unsolved Get Mode Array Updates : Unsolved PRODDISC : Unsolved Min Jumps : Unsolved Min Jumps : Solved Reverse pairs : Unsolved Byes : Solved Grep : Solved Substring Concatenation : Solved NEIGH : Unsolved Prisoners and Poison : Solved Longest Common Subsequence : Unsolved Power of 3 : Unsolved Max Chunks To Make Sorted : Solved Profit Maximisation : Unsolved WoodCutting Made Easy! : Unsolved Gcd Ordering : Unsolved The Ghost Type : Unsolved Genie and Hats : Unsolved Build Identical Trees : Solved Coin Sum Infinite : Unsolved Tree coloring with three colors : Unsolved Equal Tree Partition : Unsolved Decode String : Unsolved Count Total Set Bits : Unsolved Largest BST Subtree : Unsolved Treasure Hunt : Solved Transform CSV : Unsolved Validating Email Address using Filter : Unsolved IIFE : Solved Input and Output : Solved Root to Leaf Paths With Sum : Solved Design URL Shortener Palindrome Pairs : Unsolved PRODDISC : Solved WHILE_CMPL : Unsolved The Ghost Type : Solved Decode String : Solved Node distance C in binary tree : Unsolved Stdin and Stdout : Solved Ten Black and White Socks : Unsolved Pattern Printing -2 : Unsolved ITS TIME FOR SOME DBMS : Unsolved Excel Column Title : Unsolved Power of 3 : Solved Input and Output : Unsolved Painter's Partition Problem : Unsolved Next Number II : Solved Loops : Unsolved Max Sum Contiguous Subarray : Unsolved Path Sum : Unsolved Shortest Distance in a Maze : Unsolved Deque : Solved Shortest Distance in a Maze : Solved Highly Consistent Database : Solved Marbles in Jar : Unsolved Min Stack : Solved Ugly Pairs : Unsolved Fraction : Solved One Mile on the Globe : Unsolved Tree coloring with three colors : Solved Search in a row wise and column wise so : Unsolved Jump Statements : Unsolved Sub-matrix Sum Queries : Unsolved Node distance C in binary tree : Solved Combine Maximum : Solved Minimum Difference Subsets! : Solved KEEP SWAPPING 2 : Unsolved Knight On Chess Board : Solved Deepu and girlfriend : Unsolved Magician and Chocolates : Unsolved Longest Subarray Difference : Solved LOOP_CMPL2 : Unsolved FRUIT PACKETS : Unsolved Matrix Permutation : Unsolved Are they same - I : Solved Bus and Passenger : Unsolved Ugly Pairs : Solved Pattern Printing -2 : Solved Buffered Reader : Solved Quarters on a Table : Unsolved Cut the rod : Unsolved Flip Array : Solved Compare Version Numbers : Solved Identical Binary Trees : Unsolved Shortest Distance from All Buildings : Unsolved Minimum Cost to Hire K Workers : Unsolved Datatypes : Solved Single Element in a Sorted Array : Solved Sub-matrix Sum Queries : Solved K DISTANCE : Unsolved Solve sub-sequences and return OR : Solved Bus and Passenger : Solved Time Based Key-Value Store : Unsolved Stdin and Stdout : Unsolved Design Twitter Marbles in Jar : Solved Design Linked list : Unsolved Next Smallest Palindrome! : Solved Grep Log : Solved Word Search Board : Unsolved NEIGH : Solved REC_CMPL3 : Unsolved Next Similar Number : Unsolved Palindrome Pairs : Solved Highly Consistent Database : Unsolved Ratio of Boys and Girls : Unsolved Deque : Unsolved Pattern Printing -1 : Unsolved Shortest Distance from All Buildings : Solved Bee Travel : Solved Sort List : Unsolved EZPZ : Unsolved CHOOSE1 : Unsolved Counting Triangles : Unsolved Remove Element from Array : Unsolved Fastest Horses : Solved LOOP_CMPL : Solved Validating Roman Numerals : Solved Count of rectangles with area less than : Solved Delete Edge! : Unsolved Allocate Books : Unsolved Ratio of Boys and Girls : Solved Kingdom War : Unsolved MIN MAX RIDDLE : Unsolved 2-Sum Binary Tree : Solved Variables and Types : Unsolved Hotel Reviews : Unsolved CHOOSE2 : Solved Sum of all Submatrices : Unsolved Left view of binary tree : Unsolved ADD OR NOT : Unsolved Dinner Hand Shakes : Unsolved Length of longest consecutive ones : Solved NESTED_CMPL2 : Unsolved Remove Duplicates from Sorted List : Solved Ways to form Max Heap : Solved Grep Log : Unsolved Deepu and girlfriend : Solved Pattern Printing -1 : Solved Sum of all Submatrices : Solved Find subsequence : Unsolved Intersecting Chords in a Circle : Unsolved Binary Representation : Unsolved Consecutive Numbers Sum : Solved Good Processor : Solved Maximum Absolute Difference : Unsolved WINNER NAME : Unsolved Shortest Path in Simple Graph : Solved Best Time to Buy and Sell Stocks I : Unsolved Tenth Line : Unsolved ADD OR NOT : Solved Compare Version Numbers : Unsolved Valid Sudoku : Unsolved Pairs With Given Xor : Unsolved LOOP_CMPL : Unsolved Preorder Traversal : Unsolved Tushar's Birthday Party : Solved Divisibility by 8 : Unsolved Consecutive Number Sum : Solved Count Right Triangles : Unsolved Rotate List : Unsolved Equal Average Partition : Unsolved Design Cache : Solved N max pair combinations : Solved Divide the Cake : Unsolved Fake Note : Unsolved Smallest Subarray : Unsolved Lines in a given range : Solved Measure Time by Hourglass : Unsolved Eggs and Building : Unsolved REC_CMPL2 : Unsolved Conditions and If-Else : Solved Coins in a Line : Unsolved Boundary Traversal Of Binary Tree : Solved Longest valid Parentheses : Solved Accessibility : Solved Valid Path : Solved Design Search Typeahead Sum of minimum and maximum elements of : Unsolved MIN MAX RIDDLE : Solved 132 Pattern : Unsolved Next Greater Number BST : Unsolved Cousins in Binary Tree : Unsolved SUBTRACT : Unsolved Divisibility by 8 : Solved Path in Directed Graph : Unsolved IIFE : Unsolved Compute nCr % m : Unsolved Justified Text : Unsolved WINNER NAME : Solved Design Cache : Unsolved Rearrange the array : Unsolved Max Chunks To Make Sorted II : Unsolved Actors and their Movies : Solved Search for a Range : Solved LEFTOVER : Unsolved LEFTOVER : Solved All Unique Permutations : Unsolved Find the Defective Ball : Unsolved Stairs : Solved Accessibility : Unsolved Maximum Consecutive Gap : Solved Sum of divisor of N factorial : Unsolved ZigZag Level Order Traversal BT : Solved Longest Arithmetic Progression : Solved Operators : Solved Try some SQL : Unsolved Water Flow : Solved Sharding a Database : Solved Sorted Permutation Rank : Solved Conditions and If-Else : Unsolved Compute nCr % m : Solved BST nodes in a range : Unsolved Validating Phone Numbers : Solved Subarray Sum Equals K : Unsolved Order them : Unsolved Count the primes : Unsolved Rain Water Trapped : Solved Integer To Roman : Solved Max Min : Solved Functions : Solved Number of 1 Bits : Solved Parity Queries : Unsolved Count Right Triangles : Solved GCD_CMPL : Unsolved MinimiZe : Solved Pick from both sides! : Unsolved List Cycle : Solved Merge Two Sorted Lists II : Solved Maximal String : Solved ITS TIME FOR SOME DBMS : Solved 132 Pattern : Solved Mod Sum : Unsolved Remove Nth Node from List End : Solved Bulbs : Unsolved Rearrange the array : Solved Highest Product : Unsolved Best Time to Buy and Sell Stock with Co : Unsolved Maximum array sum after B negations : Unsolved Best Time to Buy and Sell Stock atmost : Solved 3 Length Paths : Solved Remove the Substring : Unsolved Longest Subarray Difference : Unsolved Patch the tire : Solved Sharding a Database : Unsolved Even Reverse : Solved ODD SUM : Unsolved Regular Expression Match : Solved Minimum Paratheses! : Unsolved Step by Step : Unsolved 100 People in a Circle : Solved Order them : Solved Try some SQL : Solved Leaders in an array : Solved MODIFIED SEARCH : Unsolved Rain Water Trapped : Unsolved Check two bracket expressions : Solved K DISTANCE : Solved Ways to color a 3xN Board : Unsolved Maximum array sum after B negations : Solved Minimum Paratheses! : Solved Find the Defective Ball : Solved JAVASCRIPT TAG : Solved Sum of divisor of N factorial : Solved ODD SUM : Solved Something on IP's : Unsolved Best Time to Buy and Sell Stock with Co : Solved Parity Queries : Solved Subarray Sum Equals K : Solved Sort by Frequency : Unsolved Design URL Shortener : Solved Compute nCr % p : Unsolved Min Stack : Unsolved Insertion Sort List : Unsolved JAVASCRIPT TAG : Unsolved 3 Length Paths : Unsolved Minimum operations of given type to mak : Unsolved Mod Sum : Solved Word Ladder II : Unsolved Binary Representation : Solved The Sequence game : Solved Finding Position : Solved The Tribe : Unsolved Classes : Solved Level Order : Unsolved Wizards and Drawves : Solved Design URL Shortener : Unsolved Merge Overlapping Intervals : Solved Steps to get out of complete binary tre : Unsolved Maximum Rectangle : Unsolved Find duplicate rows in a binary matrix : Solved Prime Subarrays : Unsolved Prime Subarrays : Solved Compute nCr % p : Solved Find subsequence : Solved MinimiZe : Unsolved Difference between odd and even level : Unsolved GREEDY PICK : Unsolved Justified Text : Solved Dungeon Princess : Unsolved Dictionary : Unsolved Convert the amount in number to words : Solved Search for a Range : Unsolved Black Shapes : Solved Array and Prime Divisors : Unsolved Breaking Chocolate Bars : Solved MODIFIED SEARCH : Solved Shortest Unique Prefix : Unsolved REMOVE DUPLICATES : Unsolved Light Switches in the Cellar : Unsolved Grep : Unsolved Smallest Subarray : Solved Loops- Java : Solved Kth Node From Middle : Solved Best Time to Buy and Sell Stock with Tr : Unsolved Min Jumps Array : Unsolved Rotated Arrays : Unsolved Increasing Path in Matrix : Unsolved Six Colored Cubes : Solved N digit numbers with digit sum S : Solved Starting indices of the substrings in s : Solved Into Blocks : Unsolved Balanced Brackets Queries : Unsolved Max Chunks To Make Sorted II : Solved Kingdom War : Solved Add One To Number : Solved Array and Prime Divisors : Solved Maximum Rectangle : Solved Random Attendance : Unsolved Matrix Permutation : Solved Cousins in Binary Tree : Solved GREEDY PICK : Solved Arrays in JS : Solved Another chocolate game : Solved REMOVE DUPLICATES : Solved Path in Directed Graph : Solved Next Pointer Binary Tree : Unsolved Common Nodes in Two Binary Search Trees : Unsolved Build Identical Trees : Unsolved All Factors : Unsolved Remove K Digits : Unsolved Longest Common Prefix II : Solved Delete Edge! : Solved Something on IP's : Solved Difference between odd and even level : Solved Convert Integer To Roman Number : Solved Number of Squareful Arrays : Solved Into Blocks : Solved Zigzag String : Unsolved Jelly Beans Jars : Unsolved Maximal String : Unsolved BST Iterator : Solved Convert the amount in number to words : Unsolved Remove Consecutive Characters : Solved Sort List : Solved ARRAY_BUG : Unsolved Distribute in Circle! : Unsolved Best Time to Buy and Sell Stock with Tr : Solved TOP VIEW : Solved Ways to Decode : Unsolved Kth Permutation Sequence : Solved Loops- Java : Unsolved NUMRANGE : Solved Random Attendance : Solved Maximum Frequency stack : Unsolved Balanced Brackets Queries : Solved Max Distance : Unsolved Diameter of Binary Tree : Unsolved Fake Note : Solved Maximum Longest Common Subsequence : Unsolved Maximum Longest Common Subsequence : Solved Vowels : Solved Get Mode Array Updates : Solved Longest Common Prefix II : Unsolved Merge elements : Unsolved Remove K Digits : Solved Large Factorial : Solved Anagram Substring Search : Unsolved Permutation Swaps! : Solved Rotated Arrays : Solved Functions - Basic : Solved K-th character of decrypted string : Solved Measure Time by Burning Ropes : Solved Sort an array according to the order de : Unsolved Reverse Linked List : Solved Swap Forward And Backward Slash : Unsolved Longest Substring Without Repeat : Solved Heater and Houses : Unsolved Merge Two BSTs : Unsolved Longest Increasing Subsequence : Unsolved First Scheduler : Unsolved Arrays in JS : Unsolved Diameter of Binary Tree : Solved SUBTRACT : Solved B XOR : Unsolved Equal : Solved Count Permutations of BST : Solved Anagram Substring Search : Solved Word Ladder II : Solved Remove Punctuations : Unsolved Min Steps in Infinite Grid : Solved Max Distance : Solved Count of pairs with the given sum II : Unsolved Substring Concatenation : Unsolved Ways to color a 3xN Board : Solved Add Binary Strings : Unsolved Spider's Web : Solved Greatest Common Divisor : Unsolved Evaluate Expression To True : Solved Scores : Unsolved Subarray with given XOR : Solved Methods - Java : Solved Merge K Sorted Lists : Unsolved Maximum coin in a tree : Unsolved Make a Statement : Unsolved Sort by Frequency : Solved Maximum Frequency stack : Solved Count the primes : Solved 100 People in a Circle : Unsolved B XOR : Solved LRU Cache : Unsolved Simplify Directory Path : Solved Count of pairs with the given sum II : Solved Greatest Common Divisor : Solved ARRAY_IMPL1 : Solved Verify Prime : Solved Reduce the string : Unsolved The square game : Unsolved Sort an array according to the order de : Solved Merge Two BSTs : Solved Aggressive cows : Solved Valid Ip Addresses : Solved Minimum Swaps 2 : Solved Reverse pairs : Solved Three Numbers : Solved Find duplicate rows in a binary matrix : Unsolved Box Stacking Problem : Unsolved Spiral Order Matrix II : Unsolved First Scheduler : Solved Heater and Houses : Solved Substring Game : Unsolved Stringoholics : Unsolved Train Station : Unsolved Lines in a given range : Unsolved Construct Binary Tree From Inorder And : Solved The square game : Solved Basic Array Methods : Solved SUMMATION : Unsolved K reverse linked list : Solved SUMMATION : Solved Arrange Cubes : Unsolved Design Search Typeahead : Solved Methods - Java : Unsolved Maximum Product Increasing Subsequence : Unsolved Equal : Unsolved Maximum Sum Square SubMatrix : Solved Unique Binary Search Trees : Solved Check divisibility by 7 : Unsolved All Factors : Solved REVERSE OR NOT : Unsolved Smallest Good Base : Unsolved Maximum Sum Triplet : Solved Tushar's Birthday Bombs : Unsolved Next Greater Number BST : Solved Basic Array Methods : Unsolved Queen Attack : Solved Delete and Conquer : Unsolved Duplicates in binary tree : Solved Maximum coin in a tree : Solved Check divisibility by 7 : Solved Too Odd to be a Palindrome : Unsolved Leaders in an array : Unsolved Longest Subarray Sum B : Unsolved In an array : Unsolved Different Bits Sum Pairwise : Solved Task Scheduler : Unsolved Valid BST from Preorder : Solved Design Search Typeahead : Unsolved Median of stream of running integers : Solved Burn a Tree : Solved Queries On A Tree : Unsolved Remove Punctuations : Solved Count of paths in a grid : Solved Breaking Chocolate Bars : Unsolved Boundary Traversal Of Binary Tree : Unsolved Leaf nodes from Preorder of a Binary Se : Solved Useful Extra Edges : Solved Paint House! : Unsolved LCA of array : Unsolved Too Odd to be a Palindrome : Solved MATH_BUG01 : Unsolved Inorder Traversal : Solved Tiling Problem : Unsolved Delete and Conquer : Solved Travelling Saleman Problem : Solved Palindrome Partitioning : Unsolved Counting Special Numbers! : Unsolved Bob and Queries : Unsolved REVERSE OR NOT : Solved CHOOSE3 : Unsolved Number Of Open Doors : Solved Smallest Good Base : Solved Longest Consecutive Sequence : Solved 3 Numbers : Unsolved Function : Unsolved Smallest XOR Queries : Unsolved Atoi : Unsolved Largest Coprime Divisor : Solved Falling Squares : Solved PRETTYPRINT : Unsolved Queries On A Tree : Solved Design Twitter : Solved CHOOSE2 : Unsolved Required Substrings : Unsolved Window String : Unsolved Two teams? : Solved Daughters' Ages : Unsolved Reduce the string : Solved Functions - Basic : Unsolved Substring Game : Solved Design Twitter : Unsolved Stairs : Unsolved Intersection of Two Lines : Unsolved Find sub-array with the given sum : Unsolved TOP VIEW : Unsolved Reverse the String : Unsolved Commutable Islands : Unsolved Maximum Product Increasing Subsequence : Solved Bob and Queries : Solved Assign Mice to Holes : Solved 3 Numbers : Solved Sum of adjacent elements is always even : Unsolved Distinct Subsequences : Solved Number of 1 Bits : Unsolved Longest Subarray Length : Unsolved Function : Solved B-th Smallest Prime Fraction : Unsolved Tiling Problem : Solved Merge K sorted arrays! : Unsolved Sub Matrices with sum Zero : Solved Maximum Unsorted Subarray : Unsolved Very Hard Queries : Unsolved Longest Palindromic Subsequence : Unsolved Regular Expression II : Solved K reverse linked list : Unsolved Assign Mice to Holes : Unsolved Counting Special Numbers! : Solved Intersection of Two Lines : Solved Sliding Window Maximum : Unsolved In an array : Solved Carotenemia : Unsolved Carotenemia : Solved Rotate Matrix : Unsolved Required Substrings : Solved Invert the Binary Tree : Unsolved Tenth Line : Solved Smallest XOR Queries : Solved Variable and Types : Solved Insertion Sort List : Solved Find Fibonacci : Solved Check if each internal node of a BST ha : Unsolved Highly Available Database : Solved Largest Number : Unsolved Count of pairs with the given sum : Solved Unique Binary Search Trees II : Solved Difference of Candies : Unsolved LCA of array : Solved Postorder Traversal : Unsolved Medicine Chest on a Boat : Solved Roads and Libraries : Solved Size three subsequences divisible by B : Solved CHOOSE4 : Solved Highly Available Database : Unsolved Minimum Parantheses! : Unsolved Diffk : Unsolved Container With Most Water : Unsolved Minimum Bracket Reversals : Solved Majority Element : Unsolved Shortest common superstring : Unsolved Power of 2 : Unsolved Highly Consistent Database Design Linked list : Solved Floyd Warshall Algorithm : Unsolved Difference between odd and even levels : Unsolved Min XOR value : Unsolved Edit Distance : Solved Multiplication of previous and next : Unsolved K Largest Elements : Solved Find sub-array with the given sum : Solved Profit Maximisation : Solved Produce the number : Unsolved Difference of Candies : Solved Two teams? : Unsolved Subsets II : Solved Min Sum Path in Triangle : Unsolved Minimum Absolute Difference : Solved Produce the number : Solved Array with consecutive elements : Solved 1D Array - Java : Solved Smallest Missing Sum! : Unsolved Combinations : Unsolved Leaf nodes from Preorder of a Binary Se : Unsolved Find Fibonacci : Unsolved Vowel and Consonant Substrings! : Unsolved Find nth Magic Number : Solved Multiplication of previous and next : Solved Sum of adjacent elements is always even : Solved Minimum swaps required to bring all ele : Unsolved Two Pills each day : Solved Row with maximum number of ones : Unsolved Cycle in Directed Graph : Solved Elements which have at-least two greate : Unsolved Delete middle node of a Linked List : Unsolved Row with maximum number of ones : Solved Infix to Postfix : Solved Smaller or equal elements : Unsolved Find the closest pair from two sorted a : Unsolved Minimum Absolute Difference : Unsolved Expected number of Segments : Unsolved Floyd Warshall Algorithm : Solved Move all zeroes to end of the array : Solved Duplicates in binary tree : Unsolved Word Break II : Solved Operators : Unsolved Length of longest palindromic list : Unsolved Max Sum Path in Binary Tree : Solved Move all zeroes to end of the array : Unsolved Vowel and Consonant Substrings! : Solved Falling Dominoes : Solved Sum Of Fibonacci Numbers : Solved Max Rectangle in Binary Matrix : Unsolved Find the closest pair from two sorted a : Solved Difference between odd and even levels : Solved Unique Paths in a Grid : Unsolved Remove Duplicate Letters : Unsolved String representation using its substri : Unsolved Find The Next : Unsolved Longest Consecutive Sequence in Binary : Solved Dijsktra : Unsolved Number of Squareful Arrays : Unsolved Unique Paths III : Unsolved Longest Pallindromic Subsequence : Unsolved Count Palindromic Subsequences : Unsolved Delete middle node of a Linked List : Solved Check if each internal node of a BST ha : Solved 1D Array - Java : Unsolved FRUIT PACKETS : Solved Merge Two Sorted Arrays : Unsolved Check Palindrome! : Unsolved BST nodes in a range : Solved Min Elevator Trips : Solved Color of the Bear : Unsolved Find nth Magic Number : Unsolved Sum of pairwise Hamming Distance : Unsolved Smallest Missing Sum! : Solved Finding Position : Unsolved Steps to get out of complete binary tre : Solved INFINITE STRING : Unsolved 0/1 String : Unsolved Queen Attack : Unsolved Expected number of Segments : Solved Monkeys and Doors : Solved Cows and snacks : Unsolved Dijsktra : Solved Day of the week : Unsolved Unique Paths III : Solved Swap Forward And Backward Slash : Solved Longest Pallindromic Subsequence : Solved Falling Dominoes : Unsolved Minimum Cost to Hire K Workers : Solved Detect and Remove Loop from a linked li : Unsolved B Closest Points to Origin : Solved Max Sum Contiguous Subarray : Solved Number of Digit One : Unsolved Equal Tree Partition : Solved Deserialize Binary Tree : Unsolved Length of Last Word : Solved Count of pairs with the given sum : Unsolved Maximum height of the staircase : Unsolved Maximum height of the staircase : Solved Find if two rectangles overlap : Unsolved Find if two rectangles overlap : Solved Number Of Open Doors : Unsolved Number of Digit One : Solved Rectangle Area : Solved Find if there is a sub-array with 0 sum : Solved Generate all Parentheses : Unsolved Count of divisors for multiple queries : Unsolved Count of divisors for multiple queries : Solved Product array puzzle : Unsolved Product array puzzle : Solved Next Permutation : Unsolved Lists : Solved String representation using its substri : Solved Unreliable Rover : Unsolved Find a peak element : Solved DIVISIONS : Unsolved Populate Next Right Pointers Tree : Unsolved Count of smaller numbers after self : Solved Cows and snacks : Solved Sorted Array To Balanced BST : Unsolved Count of Range Sum : Solved Maximum Difference : Unsolved Maximum Difference : Solved Inversion count in an array : Unsolved Maximum level sum : Unsolved Lightsabers : Unsolved Lightsabers : Solved Check two bracket expressions : Unsolved Preimage Size of Factorial Zeroes Funct : Unsolved Three Numbers : Unsolved Merge Two Sorted Arrays : Solved Rotated Array : Solved Length of longest palindromic list : Solved Find pairs in array whose sum is alread : Unsolved Find pairs in array whose sum is alread : Solved Kth Smallest Element in the Array : Unsolved Count pairs in array whose sum is divis : Solved Subarrays with distinct integers! : Solved Unreliable Rover : Solved Is given level order a BST? : Unsolved B-th Smallest Prime Fraction : Solved Detect and Remove Loop from a linked li : Solved Rotten Oranges : Unsolved Grid Illumination : Unsolved Grid Illumination : Solved PRETTYPRINT : Solved Add Two Numbers as Lists : Unsolved INFINITE STRING : Solved Remove nodes from Path sum less than B : Unsolved Light Switches in the Cellar : Solved Check if given Preorder, Inorder and Po : Unsolved Count of smaller numbers after self : Unsolved Rotten Oranges : Solved Connect ropes with minimum length : Unsolved kth character in double decrypted strin : Unsolved Check for BST with exactly one child of : Unsolved Preimage Size of Factorial Zeroes Funct : Solved kth character in double decrypted strin : Solved Deserialize Binary Tree : Solved Check for BST with exactly one child of : Solved Simplify Directory Path : Unsolved Kth Manhattan Distance Neighbourhood : Solved Longest Common Pallindromic Subsequence : Unsolved 1D Array : Solved Find a peak element : Unsolved Remove nodes from Path sum less than B : Solved Number of islands : Unsolved 2-Sum Binary Tree : Unsolved Eggs and Building : Solved Functions : Unsolved Word Break : Unsolved Reverse String : Unsolved Lexographically Greater Strings : Solved Minimise the maximum difference between : Unsolved Pairs With Given Xor : Solved Sample Question : Unsolved Remove_k _ Digits : Unsolved SUBARRAY OR : Unsolved Is given level order a BST? : Solved H-index : Unsolved Min Depth of Binary Tree : Unsolved Remove Half Nodes : Solved Max Depth of Binary Tree : Unsolved Connect ropes with minimum length : Solved Longest Subarray Sum B : Solved Balanced Parantheses! : Unsolved Number of islands : Solved Minimum Swaps 2 : Unsolved Check if given Preorder, Inorder and Po : Solved Most Stones Removed : Solved FAMOUS PRODUCT : Unsolved Custom Sort String : Unsolved Longest Common Pallindromic Subsequence : Solved Aggressive cows : Unsolved 1D Array : Unsolved Rectangle Area : Unsolved Custom Sort String : Solved N integers containing only 1,2 and 3 : Solved Largest Rectangle in Histogram : Solved First negative integer in window size B : Unsolved First negative integer in window size B : Solved Reversing the first B elements of queue : Unsolved Reversing the first B elements of queue : Solved Most Stones Removed : Unsolved Cycle in Directed Graph : Unsolved N integers containing only 1,2 and 3 : Unsolved Order of People Heights : Solved Largest Permutation : Unsolved Another Coin Problem : Unsolved Matrix Search : Solved Monkeys and Doors : Unsolved FAMOUS PRODUCT : Solved Count of Range Sum : Unsolved H-index : Solved Max edge queries! : Solved Minimum Size Subarray Sum : Unsolved Reorder List : Unsolved Minimum Size Subarray Sum : Solved Obsessive String : Unsolved Print all root to leaf paths : Unsolved Count of rectangles with area less than : Unsolved Time Based Key-Value Store : Solved Distance of nearest cell having 1 in a : Unsolved REDUCTION : Unsolved ALL GCD : Solved Print all root to leaf paths : Solved Combination Sum II : Solved Counting Subarrays! : Unsolved Recover Binary Search Tree : Solved Ways to Decode : Solved NEXTGREATER : Unsolved Rat In a Maze : Unsolved Multiply Strings : Unsolved Single Element in a Sorted Array : Unsolved Sort array with squares! : Solved Maximum Sum Combinations : Solved ALL GCD : Unsolved Sample Question : Solved Jesse and two string : Unsolved Obsessive String : Solved Capture Regions on Board : Solved Subarray with given XOR : Unsolved Evaluate Expression : Unsolved Ants on a Triangle : Solved Make it : Unsolved Gas Station : Solved Next Number : Unsolved Two Strings : Solved Different Bits Sum Pairwise : Unsolved Excel Column Number : Solved Coins in a Line : Solved Maximum Path in Triangle : Solved Max Continuous Series of 1s : Solved Length of Longest Subsequence : Unsolved Distance of nearest cell having 1 in a : Solved Day of the week : Solved Sum of minimum and maximum elements of : Solved Make it : Solved Kth Row of Pascal's Triangle : Unsolved Type Conversion : Unsolved Rat In a Maze : Solved Add One To Number : Unsolved Vertex Cover Problem : Unsolved MultiDimensional Arrays - Java : Solved Serialize Binary Tree : Unsolved Color of the Bear : Solved Minimum Weight Cycle in an Undirected w : Solved Strobogrammatic Number III : Unsolved Jesse and two string : Solved Remove Duplicates from Sorted Array II : Solved Multiple left rotations of the array : Unsolved REDUCTION : Solved Minimum swaps required to bring all ele : Solved Left view of binary tree : Solved Path with good nodes! : Solved Array with consecutive elements : Unsolved Path to Given Node : Solved Generate all Parentheses II : Solved Vertex Cover Problem : Solved Sharding a Database Vector : Solved B Closest Points to Origin : Unsolved Diffk II : Unsolved Hotel Reviews : Solved Strobogrammatic Number III : Solved N/3 Repeat Number : Unsolved Serialize Binary Tree : Solved N/3 Repeat Number : Solved Swap List Nodes in pairs : Solved NESTED_CMPL : Unsolved Maximise the coins by popping balloons : Solved Subsets II : Unsolved Maximum Absolute Difference : Solved Convert an arbitrary Binary Tree to a t : Unsolved DIVISIONS : Solved LAST SUBSET PROBLEM : Unsolved LAST SUBSET PROBLEM : Solved Check whether the graph is bipartide or : Unsolved Minimum Weight Cycle in an Undirected w : Unsolved Fastest Horses : Unsolved Amazing Subarrays : Solved Hotel Bookings Possible : Solved Alternate positive and negative element : Solved Snake Ladder Problem! : Unsolved Reverse Alternate K Nodes : Solved Gcd Ordering : Solved Valid BST from Preorder : Unsolved Median of Array : Solved Reverse a stack using recursion : Unsolved Alternate Lower Upper Sort : Solved Min Cost Path : Solved Generate all Parentheses : Solved Partitions : Solved MultiDimensional Arrays - Java : Unsolved Trees and Sum of Distances : Unsolved Array 3 Pointers : Unsolved Shortest Distance in a graph with two d : Unsolved ALL GCD PAIR : Unsolved Inorder Traversal of Cartesian Tree : Solved String count : Unsolved Partition List : Solved Check whether the graph is bipartide or : Solved KEEP SWAPPING 2 : Solved TRIPLET OF AND : Unsolved Chain of Pairs : Solved Min Sum Path in Matrix : Unsolved Merge Two Sorted Lists : Unsolved Next Similar Number : Solved Window String : Solved MINIMIZE THE XOR : Solved AMORTIZED1 : Solved Strongly Connected Components : Unsolved Strongly Connected Components : Solved Bridges in a graph : Unsolved Bridges in a graph : Solved String count : Solved Lists : Unsolved Toeplitz Matrix : Unsolved Populate Next Right Pointers Tree : Solved First non-repeating character in a stre : Unsolved Trees and Sum of Distances : Solved Search in a row wise and column wise so : Solved Length of Longest Subsequence : Solved K Largest Elements : Unsolved Merge Intervals : Unsolved Min Sum Path in Triangle : Solved Smaller or equal elements : Solved Find Nth Fibonacci : Unsolved SUM OF SQUARES : Unsolved SUM OF SQUARES : Solved Points on the Straight Line : Unsolved Smallest Multiple With 0 and 1 : Solved Largest Permutation : Solved XOR TRIPLETS : Unsolved Maximum Edge Removal : Unsolved Minimum number of swaps required for ar : Solved Two Pills each day : Unsolved Max Rectangle in Binary Matrix : Solved Intersection of Linked Lists : Solved ALL GCD PAIR : Solved Smallest Subtree with all the Deepest N : Unsolved Smallest Subtree with all the Deepest N : Solved Cut the rod : Solved TRIPLET OF AND : Solved Pair With Given Difference : Solved Sort Binary Linked List : Unsolved ArrayList : Solved Diagonal Traversal : Solved Toeplitz Matrix : Solved Cross the Bridge : Solved Minimum number of swaps required for ar : Unsolved Simple Queries : Solved Smallest sequence with given Primes : Solved Find Permutation : Unsolved Kth Smallest Element in a Sorted Matri : Unsolved Maximum product of an increasing subseq : Solved Ath Magical Number : Unsolved Power Of Two Integers : Solved Length of Longest Fibonacci Subsequence : Unsolved Length of Longest Fibonacci Subsequence : Solved Maximum Points on the same line : Solved Largest Continuous Sequence Zero Sum : Solved Matrix Chain Multiplication : Unsolved Matrix Chain Multiplication : Solved Russian Doll Envelopes : Unsolved Distinct Primes : Unsolved Max Chunks To Make Sorted : Unsolved Next Smallest Palindrome! : Unsolved Find The Next : Solved 2 Sum : Solved Two out of Three : Solved Russian Doll Envelopes : Solved Kth Smallest Element in a Sorted Matri : Solved Permutations : Solved Stringoholics : Solved Middle element of linked list : Unsolved Power of 2 : Solved Distinct Subsequences : Unsolved Valid Binary Search Tree : Solved Max subset XOR : Unsolved Longest Subarray Length : Solved Sorted Array To Balanced BST : Solved Redundant Braces : Solved NESTED_CMPL3 : Unsolved Balanced Parantheses! : Solved BST Iterator : Unsolved Divisor Sequences : Unsolved Box Stacking Problem : Solved XOR TRIPLETS : Solved Count of paths in a grid : Unsolved Partitions : Unsolved Length of longest consecutive ones : Unsolved Number of islands II : Solved Palindromic Binary Representation : Unsolved Grid Unique Paths II : Unsolved Grid Unique Paths II : Solved Contiguous Array : Unsolved Contiguous Array : Solved Max subset XOR : Solved Palindromic Characteristics : Unsolved Number of islands II : Unsolved Largest area of rectangle with permutat : Unsolved Maximum product of an increasing subse : Unsolved Chain of Pairs : Unsolved Minimum Lights to Activate : Unsolved Seats : Solved Interleaving Strings : Solved Merge Overlapping Intervals : Unsolved Valid phone number : Unsolved Inorder Traversal : Unsolved Median of stream of running integers : Unsolved Pretty Json : Unsolved K-th character of decrypted string : Unsolved WHILE_CMPL : Solved Ath Magical Number : Solved Variable and Types : Unsolved Another chocolate game : Unsolved Paranthesis Everywhere : Unsolved Tushar's Birthday Party : Unsolved Travelling Saleman Problem : Unsolved Least Common Ancestor : Solved MAXSPPROD : Solved Birthday odddays : Unsolved Wave Array : Unsolved Repeating Sub-Sequence : Unsolved Movie Character : Solved N digit numbers with digit sum S : Unsolved var vs let vs const : Solved Count And Say : Unsolved Short Films : Unsolved Very Hard Queries : Solved Palindromic Characteristics : Solved Collections Module Tutorial : Solved Tuples : Solved Sets : Unsolved Minimum Bracket Reversals : Unsolved Prime Sum : Solved Count of coprimes in two array : Unsolved Multiply Strings : Solved Reorder List : Solved Type Conversion : Solved Noble Integer : Solved Maximum Sum Combinations : Unsolved ArrayList : Unsolved Equal Average Partition : Solved Anagrams : Unsolved Solve sub-sequences and return OR : Unsolved Count And Say : Solved Maximum product of an increasing subse : Solved Delete middle of the linked list : Unsolved Equilateral Triangles using Toothpicks : Unsolved Birthday odddays : Solved Lexographically Greater Strings : Unsolved Merge elements : Solved Tuples : Unsolved Collections Module Tutorial : Unsolved AMORTIZED2 : Solved Probablity of knight inside chess board : Unsolved Sets : Solved var vs let vs const : Unsolved FizzBuzz : Unsolved Maximise the coins by popping balloons : Unsolved Probablity of knight inside chess board : Solved Find if there is a sub-array with 0 sum : Unsolved Best Time to Buy and Sell Stocks III : Unsolved Reverse integer : Unsolved Black Shapes : Unsolved CHOOSE1 : Solved Alice and Bob : Unsolved Symmetric Binary Tree : Unsolved NEXTGREATER : Solved Colorful Number : Solved Middle element of linked list : Solved Array 3 Pointers : Solved Paranthesis Everywhere : Solved Step by Step : Solved Maximum Weight Edge Sum : Unsolved Invoiced Billing : Unsolved All Unique Permutations : Solved Count of coprimes in two array : Solved Maximum Weight Edge Sum : Solved Python Functionals I : Solved Gas Station : Unsolved PipeCUTS : Unsolved Delete middle of the linked list : Solved Dictionary : Solved Arrange II : Unsolved Wave Array : Solved Egg Drop Problem! : Solved Distance between Nodes of BST : Unsolved Arithmetic Subsequences : Unsolved Arithmetic Subsequences : Solved Alternate positive and negative element : Unsolved Rod Cutting : Solved Single Number II : Unsolved Single Number : Solved Temp : Unsolved Word Break : Solved Intersection of Linked Lists : Unsolved Text Justification : Solved Count Complete Tree Nodes : Unsolved Consecutive Number Sum : Unsolved stream of B : Unsolved PipeCUTS : Solved Python Functionals I : Unsolved Maximum Ones After Modification : Unsolved AMORTIZED2 : Unsolved Set operations : Solved Alice and Bob : Solved Maps : Solved DEVICE CROSSOVER : Unsolved Invoiced Billing : Solved Increasing Path in Matrix : Solved Datatypes And Type Casting : Solved City Tour : Unsolved Maximum Median : Unsolved Kth Manhattan Distance Neighbourhood : Unsolved Minimum operations of given type to mak : Solved Longest Common Prefix : Unsolved Max edge queries! : Unsolved 3 Sum Zero : Solved Rust and his transfer : Solved Temp : Solved Flip Counter : Unsolved Maximum Median : Solved Measure Milk by Cans : Unsolved Minimum Parantheses! : Solved Ticket Game : Unsolved Maximum Ones After Modification : Solved Patch the tire : Unsolved Maximum product of an increasing subseq : Unsolved Ticket Game : Solved Itertools: Infinite Iterators : Solved String Sum : Unsolved stream of B : Solved Single Number : Unsolved Rust and his transfer : Unsolved Largest Coprime Divisor : Unsolved Symmetric Binary Tree : Solved Smallest sequence with given Primes : Unsolved Going back to OS : Unsolved Root to Leaf Paths With Sum : Unsolved Set operations : Unsolved Minimise the maximum difference between : Solved WoodCutting Made Easy! : Solved Simple Queries : Unsolved Nearest Smaller Element : Unsolved Maximum Path in Arrays : Unsolved Scramble String : Solved Maximum Sum Triplet : Unsolved File Handling : Solved MATH_BUG02 : Unsolved Good Ranges : Unsolved Reverse String : Solved Actors and their Movies : Unsolved Gray Code : Unsolved ARRAY_2D : Unsolved Count pairs in array whose sum is divis : Unsolved Jump Game Array : Solved Inorder Traversal of Cartesian Tree : Unsolved Sorted Insert Position : Solved H-index II : Unsolved Maximum Path in Arrays : Solved Datatypes And Type Casting : Unsolved Maximum Points on the same line : Unsolved String Sum : Solved LRU Cache : Solved Min Depth of Binary Tree : Solved Least Common Ancestor : Unsolved Maps : Unsolved Combine Maximum : Unsolved Job Sequencing : Unsolved Vertical Order traversal of Binary Tree : Solved Maximum product : Unsolved Hotel Bookings Possible : Unsolved Preorder Traversal : Solved Pretty Json : Solved Sub Matrices with sum Zero : Unsolved ARRAY_IMPL1 : Unsolved Count Permutations of BST : Unsolved Exception Handling - Java : Solved Add Two Numbers as Lists : Solved Reverse Link List Recursion : Unsolved Flatten Binary Tree to Linked List : Unsolved List Comprehensions : Solved Clone Graph : Solved Path to Given Node : Unsolved Arithmetic Operations on Numbers : Solved Wizards and Drawves : Unsolved Largest area of rectangle with permutat : Solved Identical Binary Trees : Solved Missing Element : Unsolved Nested List : Solved File Handling : Unsolved H-index II : Solved Find Nth Fibonacci : Solved Movie Character : Unsolved Missing Element : Solved Flip : Unsolved Postorder Traversal : Solved Palindrome Partitioning II : Unsolved Maximum product : Solved Maximum positivity : Unsolved Random Numbers : Solved REC_CMPL3 : Solved Construct Binary Tree From Inorder And : Unsolved Arithmetic Operations on Numbers : Unsolved Distribute Candy : Unsolved Roman To Integer : Unsolved The Tribe : Solved MAXSPPROD : Unsolved Find Duplicate in Array : Solved Min Jumps Array : Solved Reverse Linked List : Unsolved Tushar's Birthday Bombs : Solved Maximum Intervals Overlap : Unsolved Date Object : Solved Consecutive Numbers Sum : Unsolved Sorted Permutation Rank : Unsolved Passing parameters : Solved Exception Handling - Java : Unsolved Gray Code : Solved Permutations : Unsolved Remove_k _ Digits : Solved Diagonal Traversal : Unsolved Path Sum : Solved Reverse Link List Recursion : Solved Distinct Numbers in Window : Unsolved An Increment Problem : Unsolved Inversion count in an array : Solved Best Time to Buy and Sell Stocks I : Solved Maximum positivity : Solved Excel Column Number : Unsolved Anti Diagonals : Solved Largest BST Subtree : Solved Maximum Size Square Sub-matrix : Unsolved Loops and Jump statements : Solved Math Library : Solved Subset : Unsolved Combination Sum : Solved Buffered Reader : Unsolved Longest valid Parentheses : Unsolved Classes and Objects : Solved Rearrange Array : Solved Maximum Intervals Overlap : Solved Bits and operations on it : Solved Trailing Zeros in Factorial : Unsolved Best Time to Buy and Sell Stocks II : Solved Date Object : Unsolved Maximum Area of Triangle! : Unsolved Verify Prime : Unsolved Reverse Subarray for Sorting : Unsolved Nested List : Unsolved Palindromic Binary Representation : Solved Bulbs : Solved Maximum Area of Triangle! : Solved Largest Number : Solved 4 Sum : Solved Even Reverse : Unsolved MINIMIZE THE XOR : Unsolved First non-repeating character in a stre : Solved NESTED_CMPL3 : Solved MATH_BUG02 : Solved Remove Half Nodes : Unsolved Is Rectangle? : Unsolved Find Duplicate in Array : Unsolved Math Object : Solved Minimize the absolute difference : Unsolved Dungeon Princess : Solved Max Min : Unsolved Diffk : Solved Design Cache Bits and operations on it : Unsolved Loops and Jump statements : Unsolved Numpy Arrays : Solved Random Numbers : Unsolved Rotate List : Solved Distribute Candy : Solved Kth Smallest Element In Tree : Solved Copy List : Solved NQueens : Unsolved Set Matrix Zeros : Solved Reverse Subarray for Sorting : Solved Minimize the absolute difference : Solved Colorful Number : Unsolved Design Messenger Commutable Islands : Solved Reverse Link List II : Solved Matrix Median : Unsolved Subarrays with distinct integers! : Unsolved NQueens : Solved Path with good nodes! : Unsolved Implement Power Function : Solved Remove Nth Node from List End : Unsolved Maximum Edge Removal : Solved Rotated Array : Unsolved Recover Binary Search Tree : Unsolved Itertools: Combinatoric Iterators : Solved String Formatting : Solved String Methods: : Solved JS Objects : Solved String Operations : Solved Meeting rooms : Unsolved 3 Sum : Unsolved Kth Row of Pascal's Triangle : Solved Alternate Lower Upper Sort : Unsolved Shortest common superstring : Solved Min Sum Path in Matrix : Solved Math Library : Unsolved N max pair combinations : Unsolved Neutral Reviewers : Solved Elements which have at-least two greate : Solved SUBARRAY OR : Solved 0-1 Knapsack : Solved Counting Triangles : Solved Xor Between Two Arrays! : Unsolved Neutral Reviewers : Unsolved Unique Paths in a Grid : Solved Possibility of finishing all courses gi : Unsolved Remove the Substring : Solved Maximum Sum Square SubMatrix : Unsolved Color of the last ball II : Solved Single Number II : Solved Merge Two Sorted Lists : Solved Classes and Objects : Unsolved Word Break II : Unsolved Math Object : Unsolved String Formatting : Unsolved String Methods: : Unsolved If Else - Java : Solved Medicine Chest on a Boat : Unsolved ZigZag Level Order Traversal BT : Unsolved Zigzag String : Solved Numpy Arrays : Unsolved String Operations : Unsolved Sort by Color : Unsolved Prime Numbers : Unsolved Ways to form Max Heap : Unsolved List Comprehensions : Unsolved Permutation Swaps! : Unsolved More Useful Array Methods : Solved Text Justification : Unsolved Trailing Zeroes : Solved Convert to Palindrome : Solved Highly Available Database Redundant Braces : Unsolved Convert Sorted List to Binary Search Tr : Solved 4 Sum : Unsolved Sudoku : Unsolved Total Moves For Bishop! : Solved Perfect Peak of Array : Unsolved XOR-ing the Subarrays! : Solved Collections Module II : Solved If Else - Java : Unsolved Map and Filter Methods : Unsolved JS Objects : Unsolved String Validators : Unsolved Excel Column Title : Solved Tiling With Dominoes : Unsolved Prisoners and Poison : Unsolved Minimum Appends for Palindrome! : Solved Remove Consecutive Characters : Unsolved Flip Array : Unsolved Balanced Binary Tree : Unsolved Reverse Level Order : Solved Largest Continuous Sequence Zero Sum : Unsolved Sliding Window Maximum : Solved Large Factorial : Unsolved Divide Integers : Solved Seats : Unsolved Counting Subarrays! : Solved Disjoint Intervals : Unsolved MultiDimensional Arrays : Solved Coin Sum Infinite : Solved Word Search Board : Solved Min XOR value : Solved More Useful Array Methods : Unsolved Falling Squares : Unsolved Are they same - I : Unsolved Divide Integers : Unsolved Distribute in Circle! : Solved Itertools: Terminating Iterators : Solved Merge K Sorted Lists : Solved Hello, World! : Solved Balance Array : Solved Repeat and Missing Number Array : Solved Set Matrix Zeros : Unsolved Sorted Permutation Rank with Repeats : Solved Valid Number : Unsolved Subarray with equal occurences! : Unsolved Valid Path : Unsolved Maximum Path in Triangle : Unsolved Rearrange Array : Unsolved Queues : Unsolved Right view of Binary tree : Unsolved Grid Unique Paths : Unsolved Anti Diagonals : Unsolved Palindrome Integer : Unsolved Short Films : Solved Count Palindromic Subsequences : Solved Infix to Postfix : Unsolved Map and Filter Methods : Solved Queues : Solved MultiDimensional Arrays : Unsolved Longest Consecutive Sequence in Binary : Unsolved Stacks - Java : Unsolved Strings : Solved Strings : Unsolved Edit Distance : Unsolved Queues - Java : Unsolved PriorityQueue - Java : Solved Combinations : Solved Kth Permutation Sequence : Unsolved Palindrome List : Unsolved Level Order : Solved Two Strings : Unsolved 3 Sum : Solved Maximum Size Square Sub-matrix : Solved 2 Sum : Unsolved Reverse Link List II : Unsolved Smallest Multiple With 0 and 1 : Unsolved Global Vs Local : Solved Highest Product : Solved Subarray with B odd numbers : Unsolved Special Integer : Unsolved Remove Duplicates from Sorted List II : Unsolved Square Root of Integer : Solved Subarray with B odd numbers : Solved Amazing Subarrays : Unsolved NUMRANGE : Unsolved Numbers of length N and value less than : Unsolved Pascal Triangle : Solved Stacks - Java : Solved Combination Sum II : Unsolved Longest Substring Without Repeat : Unsolved Spiral Order Matrix I : Unsolved Stepping Numbers : Solved Generate all Parentheses II : Unsolved Longest Common Subsequence : Solved Median of Array : Unsolved Multiple left rotations of the array : Solved Itertools: Combinatoric Iterators : Unsolved Maximum Consecutive Gap : Unsolved Collections Module I : Unsolved Sorted Permutation Rank with Repeats : Unsolved Sort array with squares! : Unsolved Total Moves For Bishop! : Unsolved Jump Game Array : Unsolved Count Element Occurence : Unsolved Global Vs Local : Unsolved Intersection Of Sorted Arrays : Solved Next Pointer Binary Tree : Solved Reverse Bits : Solved Clone Graph : Unsolved Order of People Heights : Unsolved Comparision Operation & If-Else : Solved Flip : Solved Integer To Roman : Unsolved Intersection Of Sorted Arrays : Unsolved Pascal Triangle : Unsolved Arrange II : Solved Palindromic Check : Solved Reverse Level Order : Unsolved Reverse a stack using recursion : Solved Collections Module II : Unsolved Painter's Partition Problem : Solved Largest Distance between nodes of a Tre : Unsolved Regular Expression II : Unsolved INVERSIONS : Solved Grid Unique Paths : Solved Unique Binary Search Trees II : Unsolved Check Palindrome! : Solved Stepping Numbers : Unsolved Palindrome List : Solved Spiral Order Matrix I : Solved Binary Tree From Inorder And Postorder : Solved Palindrome Integer : Solved Max Sum Without Adjacent Elements : Unsolved Comparision Operation & If-Else : Unsolved Minimum Characters required to make a S : Unsolved Collections Module I : Solved Switch statement : Unsolved Kth Smallest Element in the Array : Solved Anagrams : Solved Interleaving Strings : Unsolved Prime Sum : Unsolved Merge Intervals : Solved Nested Functions : Solved Classes And Their Instances : Unsolved 3 Sum Zero : Unsolved Xor Between Two Arrays! : Solved Fraction : Unsolved Merge two Binary Tree : Solved Subset : Solved Region in BinaryMatrix : Solved Sort Binary Linked List : Solved RegEx : Solved Largest Rectangle in Histogram : Unsolved Switch statement : Solved XOR-ing the Subarrays! : Unsolved Repeating Sub-Sequence : Solved Ten Black and White Socks : Solved Validating Roman Numerals : Unsolved Passing parameters : Unsolved Intersecting Chords in a Circle : Solved Pick from both sides! : Solved Power Of Two Integers : Unsolved StringStream : Solved Cycle in Undirected Graph : Solved Maximum Unsorted Subarray : Solved StringStream : Unsolved Queues - Java : Solved Deque - Java : Solved PriorityQueue - Java : Unsolved Nested Functions : Unsolved Class Inheritance : Solved Remove Duplicates from Sorted List : Unsolved Length of Last Word : Unsolved Minimum Appends for Palindrome! : Unsolved Exceptions Handling : Solved Possibility of finishing all courses gi : Solved Distinct Numbers in Window : Solved Exceptions Handling : Unsolved Conditional or Ternary Expression : Solved Jump Statements : Solved Stacks : Solved PriorityQueue : Solved PriorityQueue : Unsolved Puts for Print : Solved Remove Duplicates from Sorted Array II : Unsolved PriorityQueue Comparator : Unsolved Stacks : Unsolved RegEx : Unsolved Validating Phone Numbers : Unsolved Deque - Java : Unsolved PriorityQueue Comparator - Java : Solved PriorityQueue Comparator - Java : Unsolved PriorityQueue Comparator : Solved Classes - Java : Solved Classes - Java : Unsolved Classes : Unsolved Classes And Their Instances : Solved Class Inheritance : Unsolved Pointers : Solved Pointers : Unsolved Kth Node From Middle : Unsolved Vertical Order traversal of Binary Tree : Unsolved Letter Phone : Unsolved Regular vs Arrow Functions : Solved Datatypes : Unsolved Longest Palindromic Substring : Solved Binary Tree From Inorder And Postorder : Unsolved Partition List : Unsolved Magician and Chocolates : Solved Repeat and Missing Number Array : Unsolved Remove Duplicates from Sorted Array : Unsolved Array : Solved Array : Unsolved Pointers to Array : Solved BigDecimal : Unsolved Structures : Solved Structures : Unsolved Inheritance : Solved Polymorphism : Solved Inheritance : Unsolved Polymorphism : Unsolved Runtime Polymorphism (Virtual Functions : Solved Runtime Polymorphism (Virtual Functions : Unsolved BigInteger - Java : Unsolved BigInteger - Java : Solved Sudoku : Solved BigInteger : Unsolved BigDecimal - Java : Solved BigDecimal - Java : Unsolved BigDecimal : Solved BigInteger : Solved Primality test for BigIntegers - Java : Solved Primality test for BigIntegers - Java : Unsolved Primality test for BigIntegers : Solved Primality test for BigIntegers : Unsolved Introduction to Strings - Java : Solved Introduction to Strings - Java : Unsolved Introduction to Strings : Solved Evaluate Expression To True : Unsolved Introduction to Strings : Unsolved Substring - Java : Solved Substring - Java : Unsolved Substring : Solved Substring : Unsolved StringBuilder - Java : Solved StringBuilder - Java : Unsolved Regular vs Arrow Functions : Unsolved Recursion : Unsolved Remove Duplicates from Sorted List II : Solved Regular Expression Match : Unsolved StringBuffer - Java : Solved StringBuffer - Java : Unsolved Scramble String : Unsolved Upper & Lower bound : Unsolved Container With Most Water : Solved Maps - Java : Solved Maps - Java : Unsolved HashSets - Java : Solved HashSets - Java : Unsolved HashSets : Solved HashSets : Unsolved Vector : Unsolved Set and Multiset : Solved Set and Multiset : Unsolved Upper & Lower bound : Solved Stack & Queue : Solved Stack & Queue : Unsolved Priority_queue : Unsolved Recursion : Solved Pair and Tuple : Unsolved Custom Comparator : Solved Custom Comparator : Unsolved Priority_queue : Solved Palindrome String : Solved Matrix Median : Solved Rotate Matrix : Solved Pair and Tuple : Solved Date and Time - Java : Solved Date and Time - Java : Unsolved Date and Time : Solved Palindromic Check : Unsolved Cpp Exception Handling : Unsolved Pattern Syntax Checker - Java : Solved First Repeating element : Unsolved Word Ladder I : Solved Itertools: Infinite Iterators : Unsolved Atoi : Solved Cpp Exception Handling : Solved Date and Time : Unsolved Bitset : Solved Policy based Ds : Solved Bitset : Unsolved Policy based Ds : Unsolved Pattern Syntax Checker - Java : Unsolved Pattern Syntax Checker : Solved Pattern Syntax Checker : Unsolved Currency Formatter - Java : Solved Currency Formatter - Java : Unsolved Currency Formatter : Solved Currency Formatter : Unsolved Generics - Java : Solved Generics - Java : Unsolved Generics : Solved Generics : Unsolved Bitset - Java : Solved Bitset - Java : Unsolved Class with Comparators - Java : Solved Random Numbers - Java : Solved Random Numbers - Java : Unsolved Class with Comparators - Java : Unsolved Trailing Zeros in Factorial : Solved Lambda Expressions : Unsolved Lambda Expressions - Java : Solved Lambda Expressions - Java : Unsolved Lambda Expressions : Solved Count Element Occurence : Solved Class with Comparators : Unsolved Exception Handling : Unsolved Finally Block -Java : Solved Longest Arithmetic Progression : Unsolved Class with Comparators : Solved Spiral Order Matrix II : Solved Reverse Bits : Unsolved Exception Handling : Solved Perfect Peak of Array : Solved Try Catch Block - Java : Solved Subset Sum Problem! : Solved Implement StrStr : Solved Implement Power Function : Unsolved Convert Sorted List to Binary Search Tr : Unsolved Triplets with Sum between given range : Solved Kth Smallest Element In Tree : Unsolved Largest Distance between nodes of a Tre : Solved Sum Root to Leaf Numbers : Solved Disjoint Intervals : Solved Majority Element : Solved Flatten Binary Tree to Linked List : Solved Convert Integer To Roman Number : Unsolved Knight On Chess Board : Unsolved Try Catch Block - Java : Unsolved Try Catch Block : Solved Try Catch Block : Unsolved Finally Block -Java : Unsolved Functions in JS : Solved Functions in JS : Unsolved FizzBuzz : Solved If Else : Solved If Else : Unsolved Find Permutation : Solved Methods : Unsolved StringBuffer : Solved StringBuffer : Unsolved StringBuilder : Solved StringBuilder : Unsolved Sum Of Fibonacci Numbers : Unsolved Finally Block : Unsolved Min Cost Path : Unsolved Reverse the String : Solved Allocate Books : Solved Finally Block : Solved List Cycle : Unsolved Methods : Solved Longest Consecutive Sequence : Unsolved Variables and Types : Solved Combination Sum : Unsolved Valid Sudoku : Solved Merge two Binary Tree : Unsolved 0-1 Knapsack : Unsolved Pair With Given Difference : Unsolved Subarray with equal occurences! : Solved Remove Element from Array : Solved Noble Integer : Unsolved Nearest Smaller Element : Solved Max Depth of Binary Tree : Solved Valid Ip Addresses : Unsolved Rod Cutting : Unsolved First Missing Integer : Unsolved Word Ladder I : Unsolved Rotated Sorted Array Search : Solved Useful Extra Edges : Unsolved Best Time to Buy and Sell Stock atmost : Unsolved Sum of pairwise Hamming Distance : Solved Palindrome String : Unsolved Remove Duplicates from Sorted Array : Solved Search in Bitonic Array! : Solved Minimum Characters required to make a S : Solved String Validators : Solved Hello, World! : Unsolved Modular Expression : Unsolved Minimum Lights to Activate : Solved An Increment Problem : Solved Roman To Integer : Solved REC_CMPL2 : Solved Longest Palindromic Substring : Unsolved Best Time to Buy and Sell Stocks III : Solved Shortest Unique Prefix : Solved Triplets with Sum between given range : Unsolved

A solution implemented using circular vector array (might be of help in some other problems)
[Gas Station : Solved]
(1)

Not able to find error in my python code..could you please help
[Evaluate Expression To True : Unsolved]
(1)

BFS level order traversal. First level with a leaf is the min depth
[Min Depth of Binary Tree : Solved]
(1)