sidequests

        • 1. Two Sum
        • 2. Add Two Numbers
        • 4. Median of Two Sorted Arrays
        • 13. Roman to Integer
        • 14. Longest Common Prefix
        • 15. 3Sum
        • 23. Merge k Sorted Lists
        • 25. Reverse Nodes in k-Group
        • 26. Remove Duplicates from Sorted Array
        • 27. Remove Element
        • 31. Next Permutation
        • 34. Find First and Last Position of Element in Sorted Array
        • 35. Search Insert Position
        • 38. Count and Say
        • 41. First Missing Positive
        • 42 Trapping Rain Water
        • 44. Wildcard Matching
        • 46. Permutations
        • 50. Pow(x, n)
        • 53. Maximum Subarray
        • 55. Jump Game
        • 56. Merge Intervals
        • 61. Rotate List
        • 66. Plus One
        • 73. Set Matrix Zeroes
        • 75. Sort Colors
        • 76. Minimum Window Substring
        • 80. Remove Duplicates from Sorted Array II
        • 86. Partition List
        • 92. Reverse Linked List II
        • 93. Restore IP Addresses
        • 98. Validate BST
        • 101. Symmetric Tree
        • 105. Construct Binary Tree from Preorder and Inorder Traversal
        • 106. Construct Binary Tree from Inorder and Postorder Traversal
        • 114. Flatten Binary Tree
        • 121. Best Time to Buy and Sell Stock
        • 128. Longest Consecutive Sequence
        • 139. Word Break
        • 140. Word Break II
        • 142. Linked List Cycle II
        • 148. Sort List
        • 160. Intersection of Two Linked Lists
        • 169. Majority Element
        • 198. House Robber
        • 206. Reverse Linked List
        • 209. Minimum Size Subarray Sum
        • 215. Kth Largest Element in an Array
        • 226. Invert Binary Tree
        • 229. Majority Element II
        • 230. Kth Smallest Element in a BST
        • 236. Lowest Common Ancestor of a Binary Tree
        • 238. Product of Array Except Self
        • 268. Missing Number
        • 278. First Bad Version
        • 287. Find the Duplicate Number
        • 295. Find Median from Data Stream
        • 297. Serialize and Deserialize Binary Tree
        • 315. Count of Smaller Numbers After Self
        • 316. Remove Duplicate Letters
        • 372. Super Pow
        • 378. Kth Smallest Element in a Sorted Matrix
        • 416. Partition Equal Subset Sum
        • 435. Non-Overlapping Intervals
        • 437. Path Sum III
        • 442. Find All Duplicates in an Array
        • 448. Find All Numbers Disappeared in an Array
        • 452. Minimum Number of Arrows to Burst Balloons
        • 494. Target Sum
        • 523. Continuous Subarray Sum
        • 560. Subarray Sum Equals K
        • 566. Reshape the Matrix
        • 632. Smallest Range Covering Elements from K Lists
        • 645. Set Mismatch
        • 652. Find Duplicate Subtrees
        • 686. Repeated String Match
        • 713. Subarray Product Less Than K
        • 744. Find Smallest Letter Greater Than Target
        • 765. Couples Holding Hands
        • 767. Reorganise Substring
        • 796. Rotate String
        • 832. Flipping an Image
        • 863. All Nodes Distance K in Binary Tree
        • 867. Transpose Matrix
        • 876. Middle of the Linked List
        • 919 · Meeting Rooms II
        • 920. Meeting Rooms
        • 986. Interval List Intersections
        • 989. Add to Array-Form of Integer
        • 1008. Construct Binary Search Tree from Preorder Traversal
        • 1049. Last Stone Weight II
        • 1143. Longest Common Subsequence
        • 1161. Maximum Level Sum of a Binary Tree
        • 1217. Minimum Cost to Move Chips to The Same Position
        • 1295. Find Numbers with Even Number of Digits
        • 1304. Find N Unique Integers Sum up to Zero
        • 1312. Minimum Insertion Steps to Make a String Palindrome
        • 1365. How Many Numbers Are Smaller Than the Current Number
        • 1380. Lucky Numbers in a Matrix
        • 1382. Balance a Binary Search Tree
        • 1389. Create Target Array in the Given Order
        • 1448. Count Good Nodes in Binary Tree
        • 1470. Shuffle the Array
        • 1512. Number of Good Pairs
        • 1574. Shortest Subarray Removed to Make Array Sorted
        • 1721. Swapping Nodes in a Linked List
        • 1749. Maximum Absolute Sum of Any Subarray
        • 1773. Count Items Matching a Rule
        • 1832. Check if the Sentence Is Pangram
        • 1854. Maximum Population Year
        • 1920. Build Array from Permutation
        • 1963. Minimum Number of Swaps to Make the String Balanced
        • 1980. Find Unique Binary String
        • 2027. Minimum Moves to Convert String
        • 2053. Kth Distinct String in an Array
        • 2293. Min Max Game
        • 2294. Partition Array Such That Maximum Difference Is K
        • 6095. Strong Password Checker II
        • 6096. Successful Pairs of Spells and Potions
        • 6121. Query Kth Smallest Trimmed Number
        • 6122. Minimum Deletions to Make Array Divisible
        • Balance Binary Tree
        • Bank Transactions
        • Binary Search Tree
        • Binary Tree
        • Binary Tree to DLL
        • BT Sum at Kth Level
        • Check if Tree is Isomorphic
        • Check whether BST contains Dead End
        • Clone LL with Random Pointer
        • Convert Sorted List to BST
        • Count and Sum of Nodes
        • Count Customers Who Did Not Get A Computer
        • Count of Subsets witth given Sum
        • Count Palindromic Subsequences
        • Count the Reversals
        • Delete Nodes With Greater Value on Right
        • Diagonal Traversal of BT
        • Diameter of a Tree
        • Dynamic Programming
        • Edit Distance
        • FInd String in Grid
        • First Non Repeating Character in Stream
        • First Repeating Element
        • Flatten a BST
        • Flatten a Linked List
        • Flatten Binary Tree to LL
        • GFG Add 1 to Linked List
        • GFG Boundary Traversal of BT
        • GFG Check if Linked List is Palindrome
        • GFG Choclate Distribution Problem
        • GFG Common Elements
        • GFG Count Inversions
        • GFG Detect Loop
        • GFG Factorials of large numbers
        • GFG Intersection of Two Sorted LLs
        • GFG Kth Largest Subarray
        • GFG Length of smallest subarray removed
        • GFG Longest Subarray having Sum K
        • GFG Maximum Product Subarray
        • GFG Median of 2 Sorted Arrays of Same Size
        • GFG Merge k Sorted Arrays
        • GFG Merge Without Extra Space
        • GFG Minimise the Heights
        • GFG Minimum Number of Jumps
        • GFG Minimum swaps and K together
        • GFG Palindromic Array
        • GFG Rearrange array in alternating positive & negative items with O(1) extra space
        • GFG Remove Duplicates
        • GFG Remove Loop
        • GFG Reverse Doubly Linked List
        • GFG Smallest Subarray Sum Smaller Than K
        • GFG Split Circular Linked List into Two Halves
        • GFG Sum of Longest Bloodline
        • GFG Three Way Paritioning
        • GFG Triplet Sum in Array
        • Given n appointments, find all conflicting appointments
        • Height of a Tree
        • Inorder Predecessor and Successor in BST
        • Iterative Traversals of BT
        • Job Sequencing Problem
        • KMP Algo
        • Kth Ancestor
        • Largest BST
        • LCA in BST
        • Leaf at same level
        • Left and Right View
        • Longest Palindrome in String
        • Longest Repeating Subsequence
        • Maxiumum Sum of Non-Adjacent Nodes
        • Merge 2 BSTs
        • Merge 2 Sorted Linked Lists
        • Minimum Characters to be added to front to make string Palindrome
        • Minimum Number of Flips
        • Minimum Number of Merges to make Palindrome
        • MOC DSA Questions
        • Morris Traversals of Binary Tree
        • N meetings in one room
        • Next Permutation
        • Numbers divisible by a or b in range n
        • Parenthesis Checker
        • Permutations of a Given String
        • Police and Thieves
        • Populate Inorder Successor for all Nodes
        • Print all Subsequences of a String
        • Rabin Karp
        • Remove Consecutive Characters
        • Replace every element with the least greater element on its right
        • Reverse Doubly Linked List in Groups of K
        • Reverse Level Order Traversal
        • Reverse LinkedList in Groups of K
        • Shortest Impossible Sequence of Rolls
        • Smallest Distinct Window
        • Smallest sum contiguous subarray
        • Sort Linked List if 0s, 1s and 2s
        • Subtree of Another Tree
        • Sum Tree
        • Swap Kth nodes from ends
        • Top - Bottom View of a Tree
        • Transform String
        • Two Sum in BST
        • Two Sum with 2 BSTs
        • Union and Intersection of Arrays
        • Vertical Traversal of BT
        • Word Wrap Problem
        • Zig Zag Traversal
        • AGI Will Never Be Hostile But Humans Will
        • Functional Type Safety in Kotlin
        • Recursive Type Parameters in Kotlin
        • digital gardens
        • general-specific problems
        • Meaning is Objective
        • on reshaping how we learn
        • pipeline
        • lies
      • A Sneak Peek at Newzle
      • Resume
    home

    ❯

    list of leetcode problems

    list of leetcode problems

    • Jan 08, 2026

      35. Search Insert Position

      • easy
      • arrays
      • dsadeck
      • binarysearch
    • Jan 08, 2026

      448. Find All Numbers Disappeared in an Array

      • easy
      • arrays
      • completed
      • dsadeck
    • Jan 08, 2026

      278. First Bad Version

      • dsadeck
      • arrays
      • completed
      • incomplete
    • Jan 08, 2026

      287. Find the Duplicate Number

      • easy
      • arrays
      • completed
      • dsadeck
      • todoleetcode
    • Jan 08, 2026

      1. Two Sum

      • May 06, 2023

        MOC DSA Questions

        • Untagged
      • Sep 25, 2022

        2027. Minimum Moves to Convert String

        • dsadeck
        • strings
      • Sep 25, 2022

        Count Customers Who Did Not Get A Computer

        • dsadeck
        • strings
      • Sep 25, 2022

        Transform String

        • dsadeck
        • strings
      • Sep 24, 2022

        1312. Minimum Insertion Steps to Make a String Palindrome

        • dsadeck
        • strings
      • Sep 24, 2022

        44. Wildcard Matching

        • dsadeck
        • strings
      • Sep 24, 2022

        Remove Consecutive Characters

        • dsadeck
        • strings
      • Sep 14, 2022

        KMP Algo

        • dsadeck
        • strings
      • Sep 11, 2022

        767. Reorganise Substring

        • dsadeck
        • strings
      • Sep 11, 2022

        Bank Transactions

        • dsadeck
        • dp
      • Sep 11, 2022

        Minimum Characters to be added to front to make string Palindrome

        • dsadeck
        • strings
      • Sep 10, 2022

        76. Minimum Window Substring

        • dsadeck
        • strings
      • Sep 07, 2022

        93. Restore IP Addresses

        • dsadeck
        • strings
      • Aug 31, 2022

        Smallest Distinct Window

        • dsadeck
        • strings
      • Aug 30, 2022

        80. Remove Duplicates from Sorted Array II

        • dsadeck
        • arrays
      • Aug 29, 2022

        13. Roman to Integer

        • dsadeck
        • strings
      • Aug 29, 2022

        14. Longest Common Prefix

        • dsadeck
        • strings
      • Aug 29, 2022

        1963. Minimum Number of Swaps to Make the String Balanced

        • dsadeck
        • strings
      • Aug 29, 2022

        Minimum Number of Flips

        • dsadeck
        • strings
      • Aug 28, 2022

        FInd String in Grid

        • dsadeck
        • strings
      • Aug 27, 2022

        686. Repeated String Match

        • dsadeck
        • strings
      • Aug 27, 2022

        Count Palindromic Subsequences

        • dsadeck
        • strings
      • Aug 26, 2022

        Numbers divisible by a or b in range n

        • dsadeck
        • arithmetic
      • Aug 24, 2022

        Count the Reversals

        • dsadeck
        • strings
      • Aug 22, 2022

        140. Word Break II

        • dsadeck
        • strings
      • Aug 22, 2022

        Rabin Karp

        • dsadeck
        • strings
        • concept
      • Aug 21, 2022

        139. Word Break

        • dsadeck
        • strings
      • Aug 21, 2022

        Next Permutation

        • dsadeck
        • arrays
      • Aug 21, 2022

        Parenthesis Checker

        • dsadeck
        • strings
        • stacks
      • Aug 20, 2022

        Edit Distance

        • dsadeck
        • strings
      • Aug 12, 2022

        316. Remove Duplicate Letters

        • dsadeck
        • strings
        • stacks
      • Aug 11, 2022

        1143. Longest Common Subsequence

        • dsadeck
        • strings
        • dp
      • Aug 11, 2022

        Longest Palindrome in String

        • dsadeck
        • strings
      • Aug 11, 2022

        Longest Repeating Subsequence

        • dsadeck
        • strings
        • dp
      • Aug 11, 2022

        Permutations of a Given String

        • dsadeck
        • strings
      • Aug 11, 2022

        Print all Subsequences of a String

        • dsadeck
        • strings
      • Aug 11, 2022

        Word Wrap Problem

        • dsadeck
        • strings
        • dp
        • todoleetcode
      • Aug 10, 2022

        38. Count and Say

        • dsadeck
        • strings
      • Aug 10, 2022

        46. Permutations

        • dsadeck
        • arrays
      • Aug 10, 2022

        796. Rotate String

        • dsadeck
        • strings
      • Aug 05, 2022

        1049. Last Stone Weight II

        • dsadeck
        • dp
        • todoleetcode
      • Aug 05, 2022

        Count of Subsets witth given Sum

        • dsadeck
        • dp
      • Aug 04, 2022

        416. Partition Equal Subset Sum

        • dsadeck
        • dp
      • Aug 04, 2022

        494. Target Sum

        • dsadeck
        • dp
      • Jul 31, 2022

        Dynamic Programming

        • Jul 31, 2022

          Shortest Impossible Sequence of Rolls

          • dsadeck
          • dp
        • Jul 30, 2022

          Check whether BST contains Dead End

          • dsadeck
          • bst
        • Jul 30, 2022

          Given n appointments, find all conflicting appointments

          • dsadeck
          • bst
        • Jul 30, 2022

          Largest BST

          • dsadeck
          • bst
        • Jul 30, 2022

          Replace every element with the least greater element on its right

          • dsadeck
          • bst
        • Jul 30, 2022

          Two Sum with 2 BSTs

          • dsadeck
          • bst
        • Jul 29, 2022

          Merge 2 Sorted Linked Lists

          • dsadeck
          • linkedlist
        • Jul 23, 2022

          Convert Sorted List to BST

          • dsadeck
          • bst
          • todoleetcode
        • Jul 23, 2022

          Merge 2 BSTs

          • dsadeck
          • bst
        • Jul 23, 2022

          Populate Inorder Successor for all Nodes

          • dsadeck
          • bst
        • Jul 22, 2022

          1008. Construct Binary Search Tree from Preorder Traversal

          • dsadeck
          • bst
        • Jul 22, 2022

          1382. Balance a Binary Search Tree

          • dsadeck
          • bst
          • todoleetcode
        • Jul 22, 2022

          Flatten a BST

          • dsadeck
          • bst
        • Jul 22, 2022

          Inorder Predecessor and Successor in BST

          • dsadeck
          • bst
        • Jul 22, 2022

          LCA in BST

          • dsadeck
          • bst
        • Jul 22, 2022

          Two Sum in BST

          • dsadeck
          • bst
          • todoleetcode
        • Jul 21, 2022

          230. Kth Smallest Element in a BST

          • dsadeck
          • bst
          • todoleetcode
        • Jul 20, 2022

          98. Validate BST

          • dsadeck
          • bst
        • Jul 19, 2022

          1721. Swapping Nodes in a Linked List

          • dsadeck
          • linkedlist
        • Jul 19, 2022

          Clone LL with Random Pointer

          • dsadeck
          • linkedlist
        • Jul 19, 2022

          Delete Nodes With Greater Value on Right

          • dsadeck
          • linkedlist
        • Jul 19, 2022

          First Non Repeating Character in Stream

          • dsadeck
          • linkedlist
          • strings
        • Jul 19, 2022

          Flatten a Linked List

          • dsadeck
          • linkedlist
        • Jul 19, 2022

          Sort Linked List if 0s, 1s and 2s

          • dsadeck
          • linkedlist
        • Jul 19, 2022

          Swap Kth nodes from ends

          • dsadeck
          • linkedlist
        • Jul 18, 2022

          25. Reverse Nodes in k-Group

          • dsadeck
          • linkedlist
        • Jul 18, 2022

          Police and Thieves

          • dsadeck
          • greedy
          • tboptimised
        • Jul 18, 2022

          Reverse LinkedList in Groups of K

          • dsadeck
          • linkedlist
        • Jul 17, 2022

          6121. Query Kth Smallest Trimmed Number

          • Jul 17, 2022

            6122. Minimum Deletions to Make Array Divisible

            • Jul 16, 2022

              Reverse Doubly Linked List in Groups of K

              • dsadeck
              • linkedlist
            • Jul 15, 2022

              1448. Count Good Nodes in Binary Tree

              • dsadeck
              • binarytrees
            • Jul 15, 2022

              452. Minimum Number of Arrows to Burst Balloons

              • dsadeck
              • intervals
              • greedy
            • Jul 15, 2022

              919 · Meeting Rooms II

              • dsadeck
              • intervals
            • Jul 15, 2022

              920. Meeting Rooms

              • dsadeck
              • intervals
            • Jul 15, 2022

              986. Interval List Intersections

              • dsadeck
              • intervals
            • Jul 15, 2022

              Job Sequencing Problem

              • dsadeck
              • greedy
              • heap
            • Jul 15, 2022

              N meetings in one room

              • dsadeck
              • intervals
            • Jul 13, 2022

              106. Construct Binary Tree from Inorder and Postorder Traversal

              • dsadeck
              • binarytrees
            • Jul 13, 2022

              114. Flatten Binary Tree

              • Jul 13, 2022

                Check if Tree is Isomorphic

                • dsadeck
                • binarytrees
              • Jul 13, 2022

                Kth Ancestor

                • dsadeck
                • binarytrees
              • Jul 13, 2022

                Morris Traversals of Binary Tree

                • dsadeck
                • binarytrees
              • Jul 11, 2022

                198. House Robber

                • dsadeck
                • arrays
              • Jul 11, 2022

                437. Path Sum III

                • dsadeck
                • binarytrees
              • Jul 11, 2022

                Maxiumum Sum of Non-Adjacent Nodes

                • dsadeck
                • binarytrees
              • Jul 10, 2022

                236. Lowest Common Ancestor of a Binary Tree

                • dsadeck
                • binarytrees
              • Jul 07, 2022

                297. Serialize and Deserialize Binary Tree

                • dsadeck
                • binarytrees
              • Jul 07, 2022

                652. Find Duplicate Subtrees

                • dsadeck
                • binarytrees
              • Jul 07, 2022

                Binary Search Tree

                • Jul 07, 2022

                  GFG Sum of Longest Bloodline

                  • dsadeck
                  • binarytrees
                • Jul 06, 2022

                  105. Construct Binary Tree from Preorder and Inorder Traversal

                  • dsadeck
                  • binarytrees
                • Jul 06, 2022

                  Leaf at same level

                  • dsadeck
                  • binarytrees
                • Jul 06, 2022

                  Sum Tree

                  • dsadeck
                  • binarytrees
                • Jul 04, 2022

                  Balance Binary Tree

                  • dsadeck
                  • binarytrees
                • Jul 04, 2022

                  Flatten Binary Tree to LL

                  • dsadeck
                  • binarytrees
                • Jul 03, 2022

                  Binary Tree to DLL

                  • dsadeck
                  • binarytrees
                • Jul 03, 2022

                  Diagonal Traversal of BT

                  • dsadeck
                  • binarytrees
                • Jul 03, 2022

                  Top - Bottom View of a Tree

                  • dsadeck
                  • binarytrees
                • Jul 03, 2022

                  Vertical Traversal of BT

                  • dsadeck
                  • binarytrees
                • Jul 03, 2022

                  Zig Zag Traversal

                  • dsadeck
                  • binarytrees
                • Jul 02, 2022

                  101. Symmetric Tree

                  • dsadeck
                  • binarytrees
                • Jul 02, 2022

                  226. Invert Binary Tree

                  • dsadeck
                  • binarytrees
                • Jul 02, 2022

                  GFG Boundary Traversal of BT

                  • dsadeck
                  • binarytrees
                • Jul 02, 2022

                  Iterative Traversals of BT

                  • dsadeck
                  • binarytrees
                • Jul 02, 2022

                  Left and Right View

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  1161. Maximum Level Sum of a Binary Tree

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  863. All Nodes Distance K in Binary Tree

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  BT Sum at Kth Level

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  Diameter of a Tree

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  Height of a Tree

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  Reverse Level Order Traversal

                  • dsadeck
                  • binarytrees
                • Jul 01, 2022

                  Subtree of Another Tree

                  • dsadeck
                  • binarytrees
                • Jun 30, 2022

                  Binary Tree

                  • Jun 30, 2022

                    Count and Sum of Nodes

                    • dsadeck
                    • binarytrees
                  • Jun 27, 2022

                    GFG Reverse Doubly Linked List

                    • dsadeck
                    • linkedlist
                  • Jun 26, 2022

                    GFG Check if Linked List is Palindrome

                    • dsadeck
                    • linkedlist
                  • Jun 26, 2022

                    GFG Split Circular Linked List into Two Halves

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    142. Linked List Cycle II

                    • dsadeck
                    • arrays
                  • Jun 25, 2022

                    148. Sort List

                    • dsadeck
                    • arrays
                    • linkedlist
                    • tododryrun
                  • Jun 25, 2022

                    160. Intersection of Two Linked Lists

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    2. Add Two Numbers

                    • dsadeck
                    • arrays
                  • Jun 25, 2022

                    61. Rotate List

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    876. Middle of the Linked List

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    92. Reverse Linked List II

                    • dsadeck
                    • arrays
                  • Jun 25, 2022

                    GFG Add 1 to Linked List

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    GFG Detect Loop

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    GFG Intersection of Two Sorted LLs

                    • dsadeck
                    • linkedlist
                  • Jun 25, 2022

                    GFG Remove Duplicates

                    • dsadeck
                    • arrays
                  • Jun 25, 2022

                    GFG Remove Loop

                    • dsadeck
                    • linkedlist
                  • Jun 24, 2022

                    15. 3Sum

                    • dsadeck
                    • arrays
                  • Jun 24, 2022

                    206. Reverse Linked List

                    • dsadeck
                    • linkedlist
                  • Jun 24, 2022

                    4. Median of Two Sorted Arrays

                    • dsadeck
                    • arrays
                    • hard
                    • incomplete
                  • Jun 24, 2022

                    GFG Choclate Distribution Problem

                    • dsadeck
                    • arrays
                  • Jun 24, 2022

                    GFG Median of 2 Sorted Arrays of Same Size

                    • dsadeck
                    • arrays
                    • mergesort
                  • Jun 24, 2022

                    GFG Minimum swaps and K together

                    • dsadeck
                    • arrays
                  • Jun 24, 2022

                    GFG Palindromic Array

                    • dsadeck
                    • arrays
                  • Jun 24, 2022

                    GFG Smallest Subarray Sum Smaller Than K

                    • dsadeck
                    • arrays
                  • Jun 24, 2022

                    GFG Triplet Sum in Array

                    • dsadeck
                    • arrays
                    • arithmetic
                  • Jun 24, 2022

                    Minimum Number of Merges to make Palindrome

                    • dsadeck
                    • arrays
                  • Jun 21, 2022

                    121. Best Time to Buy and Sell Stock

                    • dsadeck
                    • arrays
                  • Jun 21, 2022

                    169. Majority Element

                    • dsadeck
                    • arrays
                    • arithmetic
                  • Jun 21, 2022

                    229. Majority Element II

                    • dsadeck
                    • arrays
                  • Jun 20, 2022

                    128. Longest Consecutive Sequence

                    • dsadeck
                    • arrays
                    • subarrays
                    • set
                  • Jun 20, 2022

                    GFG Factorials of large numbers

                    • dsadeck
                    • arrays
                    • arithmetic
                  • Jun 20, 2022

                    GFG Maximum Product Subarray

                    • dsadeck
                    • arrays
                    • subarrays
                  • Jun 19, 2022

                    GFG Common Elements

                    • dsadeck
                    • arrays
                  • Jun 19, 2022

                    GFG Count Inversions

                    • dsadeck
                    • arrays
                  • Jun 19, 2022

                    GFG Rearrange array in alternating positive & negative items with O(1) extra space

                    • dsadeck
                    • arrays
                  • Jun 17, 2022

                    315. Count of Smaller Numbers After Self

                    • dsadeck
                    • arrays
                  • Jun 15, 2022

                    31. Next Permutation

                    • dsadeck
                    • arrays
                    • permutation
                  • Jun 15, 2022

                    435. Non-Overlapping Intervals

                    • dsadeck
                    • arrays
                  • Jun 15, 2022

                    56. Merge Intervals

                    • dsadeck
                    • arrays
                    • intervals
                  • Jun 15, 2022

                    GFG Minimise the Heights

                    • dsadeck
                    • arrays
                    • incomplete
                    • questiontodo
                  • Jun 14, 2022

                    GFG Merge Without Extra Space

                    • dsadeck
                    • arrays
                  • Jun 14, 2022

                    GFG Minimum Number of Jumps

                    • dsadeck
                    • arrays
                  • Jun 14, 2022

                    Union and Intersection of Arrays

                    • dsadeck
                    • arrays
                  • Jun 13, 2022

                    75. Sort Colors

                    • dsadeck
                    • arrays
                  • Jun 13, 2022

                    86. Partition List

                    • dsadeck
                    • linkedlist
                  • Jun 13, 2022

                    GFG Three Way Paritioning

                    • dsadeck
                    • arrays
                    • twopointer
                  • Jun 11, 2022

                    238. Product of Array Except Self

                    • dsadeck
                    • arrays
                  • Jun 11, 2022

                    55. Jump Game

                    • dsadeck
                    • arrays
                  • Jun 11, 2022

                    6095. Strong Password Checker II

                    • dsadeck
                    • strings
                  • Jun 11, 2022

                    6096. Successful Pairs of Spells and Potions

                    • dsadeck
                    • arrays
                    • binarysearch
                  • Jun 11, 2022

                    73. Set Matrix Zeroes

                    • dsadeck
                    • arrays
                  • Jun 09, 2022

                    1217. Minimum Cost to Move Chips to The Same Position

                    • dsadeck
                    • arrays
                  • Jun 09, 2022

                    1380. Lucky Numbers in a Matrix

                    • dsadeck
                    • arrays
                    • matrix
                  • Jun 09, 2022

                    566. Reshape the Matrix

                    • dsadeck
                    • arrays
                  • Jun 09, 2022

                    66. Plus One

                    • dsadeck
                    • arrays
                  • Jun 09, 2022

                    GFG Longest Subarray having Sum K

                    • dsadeck
                    • arrays
                  • Jun 07, 2022

                    1304. Find N Unique Integers Sum up to Zero

                    • dsadeck
                    • arrays
                  • Jun 07, 2022

                    1854. Maximum Population Year

                    • dsadeck
                    • arrays
                  • Jun 07, 2022

                    42 Trapping Rain Water

                    • dsadeck
                    • arrays
                    • tboptimised
                  • Jun 07, 2022

                    989. Add to Array-Form of Integer

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    1295. Find Numbers with Even Number of Digits

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    1365. How Many Numbers Are Smaller Than the Current Number

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    1389. Create Target Array in the Given Order

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    1773. Count Items Matching a Rule

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    1832. Check if the Sentence Is Pangram

                    • dsadeck
                    • arrays
                    • strings
                  • Jun 06, 2022

                    832. Flipping an Image

                    • dsadeck
                    • arrays
                  • Jun 06, 2022

                    867. Transpose Matrix

                    • dsadeck
                    • arrays
                  • Jun 05, 2022

                    1470. Shuffle the Array

                    • dsadeck
                    • arrays
                  • Jun 05, 2022

                    1512. Number of Good Pairs

                    • dsadeck
                    • arrays
                  • Jun 05, 2022

                    1920. Build Array from Permutation

                    • dsadeck
                    • arrays
                  • Jun 05, 2022

                    2293. Min Max Game

                    • dsadeck
                    • arrays
                    • contest
                    • binarytrees
                  • Jun 05, 2022

                    2294. Partition Array Such That Maximum Difference Is K

                    • dsadeck
                    • arrays
                    • subarrays
                  • Jun 05, 2022

                    23. Merge k Sorted Lists

                    • dsadeck
                    • arrays
                    • heap
                    • linkedlist
                  • Jun 05, 2022

                    295. Find Median from Data Stream

                    • dsadeck
                    • arrays
                  • Jun 05, 2022

                    632. Smallest Range Covering Elements from K Lists

                    • dsadeck
                    • linkedlist
                    • heap
                  • Jun 05, 2022

                    744. Find Smallest Letter Greater Than Target

                    • dsadeck
                    • arrays
                    • binarysearch
                  • Jun 05, 2022

                    GFG Merge k Sorted Arrays

                    • dsadeck
                    • arrays
                    • heap
                  • Jun 02, 2022

                    GFG Kth Largest Subarray

                    • dsadeck
                    • arrays
                    • completed
                    • subarrays
                  • Jun 01, 2022

                    209. Minimum Size Subarray Sum

                    • dsadeck
                    • arrays
                    • completed
                  • May 31, 2022

                    713. Subarray Product Less Than K

                    • dsadeck
                    • arrays
                    • slidingwindow
                    • completed
                  • May 30, 2022

                    372. Super Pow

                    • dsadeck
                    • arrays
                    • completed
                    • incomplete
                  • May 30, 2022

                    523. Continuous Subarray Sum

                    • dsadeck
                    • arrays
                    • completed
                  • May 30, 2022

                    560. Subarray Sum Equals K

                    • dsadeck
                    • subarrays
                    • completed
                    • hashmap
                  • May 21, 2022

                    50. Pow(x, n)

                    • easy
                    • arithmetic
                    • completed
                    • ChabraQuestion
                  • May 19, 2022

                    2053. Kth Distinct String in an Array

                    • easy
                    • arrays
                    • completed
                    • dsadeck
                  • May 14, 2022

                    34. Find First and Last Position of Element in Sorted Array

                    • medium
                    • arrays
                    • completed
                    • binarysearch
                  • May 13, 2022

                    1574. Shortest Subarray Removed to Make Array Sorted

                    • easy
                    • arrays
                    • incomplete
                    • subarrays
                    • twopointer
                    • dsadeck
                  • May 13, 2022

                    1749. Maximum Absolute Sum of Any Subarray

                    • easy
                    • arrays
                    • completed
                    • dp
                    • subarrays
                    • dsadeck
                  • May 13, 2022

                    1980. Find Unique Binary String

                    • easy
                    • arrays
                    • tbdone
                  • May 13, 2022

                    215. Kth Largest Element in an Array

                    • easy
                    • arrays
                    • tbdone
                    • heap
                  • May 13, 2022

                    378. Kth Smallest Element in a Sorted Matrix

                    • easy
                    • arrays
                    • tbdone
                    • dsadeck
                  • May 13, 2022

                    53. Maximum Subarray

                    • easy
                    • arrays
                    • completed
                    • subarrays
                    • dsadeck
                  • May 13, 2022

                    645. Set Mismatch

                    • easy
                    • arrays
                    • completed
                    • dsadeck
                  • May 13, 2022

                    First Repeating Element

                    • easy
                    • arrays
                    • completed
                    • hashmap
                    • dsadeck
                  • May 13, 2022

                    GFG Length of smallest subarray removed

                    • hard
                    • arrays
                    • subarrays
                    • incomplete
                  • May 13, 2022

                    Smallest sum contiguous subarray

                    • easy
                    • arrays
                    • completed
                    • subarrays
                    • dsadeck
                  • May 12, 2022

                    26. Remove Duplicates from Sorted Array

                    • dsadeck
                    • arrays
                  • May 12, 2022

                    268. Missing Number

                    • easy
                    • arrays
                    • completed
                    • dsadeck
                  • May 12, 2022

                    442. Find All Duplicates in an Array

                    • easy
                    • arrays
                    • completed
                    • dsadeck
                  • May 12, 2022

                    765. Couples Holding Hands

                    • easy
                    • arrays
                    • completed
                    • dsadeck
                  • Apr 30, 2022

                    41. First Missing Positive

                    • hard
                    • arrays
                    • incomplete
                    • dsadeck
                  • Oct 19, 2021

                    27. Remove Element

                    • dsadeck

                  • GitHub
                  • Linkedin
                  • Twitter