LeetCode
Ctrlk
  • Default
  • Learning Temp
  • Template
  • Copy of Template
  • CodeChef_Codeforces
  • Array
    • GCD, Remainder etc, MAth
    • Easy
    • Medium
      • 75. Sort Colors/ Dutch National Flag
      • 169. Majority Element / Moore
      • 229. Majority Element II
      • 53. Maximum Subarray Sum / Kadane
      • 2149. Rearrange Array Elements by Sign
      • 31. Next Permutation
      • 2865. Beautiful Towers I
      • 1503. Last Moment Before All Ants Fall Out of a Plank
      • Longest Subarray With Sum K
      • Subarrays with XOR ‘K’
      • 3224. Minimum Array Changes to Make Differences Equal
      • Copy of Copy of Copy of Template
    • Hard
    • Sorting
    • Prefix Sum
    • Two Pointer
    • Matrix
    • Copy of Template
  • String
  • Hash & Map
  • Linked List
  • Binary Search
  • Bit Masking
  • Stack
  • Sliding Window
  • Prefix & Suffix
  • Heaps and Priority Queue
  • Greedy
  • Trees
  • Graph
  • Recursion & Backtracking
  • Dynamic Programming
  • Trie
  • Insights & new Learnings
Powered by GitBook
On this page
  1. Array

Medium

75. Sort Colors/ Dutch National Flag169. Majority Element / Moore229. Majority Element II53. Maximum Subarray Sum / Kadane2149. Rearrange Array Elements by Sign31. Next Permutation2865. Beautiful Towers I1503. Last Moment Before All Ants Fall Out of a PlankLongest Subarray With Sum KSubarrays with XOR ‘K’3224. Minimum Array Changes to Make Differences EqualCopy of Copy of Copy of Template
Previous2855. Minimum Right Shifts to Sort the ArrayNext75. Sort Colors/ Dutch National Flag