# InterviewBit Problems

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

Help! Solution works with custom test case but seg fault when submit
[Equal Average Partition : Unsolved]
(1)

The b1, b2, s1, s2 are the net profit if it is bought/sold at that point
[InterviewBit Problems]
(1)

Editorial solution (Java Array) seems to fail for one of the test cases?
[Anti Diagonals : Unsolved]
(1)