Skip to content

Premium 100

  • Premium Algo 100

  • Arrays / Strings

    • 624. Maximum Distance in Arrays
    • 280. Wiggle Sort
    • 1056. Confusing Number
    • 1427. Perform String Shifts
    • 161. One Edit Distance
    • 186. Reverse Words in a String II
    • 1055. Shortest Way to Form String
  • Sliding Window

    • 159. Longest Substring with At Most Two Distinct Characters
    • 340. Longest Substring with At Most K Distinct Characters
    • 487. Max Consecutive Ones II
    • 1100. Find K-Length Substrings With No Repeated Characters
  • Hashing

    • 760. Find Anagram Mappings
    • 266. Palindrome Permutation
    • 734. Sentence Similarity
    • 1165. Single-Row Keyboard
    • 249. Group Shifted Strings
    • 1133. Largest Unique Number
    • 1426. Counting Elements
    • 1198. Find Smallest Common Element in All Rows
  • Matrix

    • 422. Valid Word Square
    • 531. Lonely Pixel I
    • 311. Sparse Matrix Multiplication
    • 723. Candy Crush
  • Interval Set

    • 163. Missing Ranges
    • 252. Meeting Rooms
    • 253. Meeting Rooms II
    • 616. Add Bold Tag in String
    • 1272. Remove Interval
  • Stack

    • 439. Ternary Expression Parser
    • 484. Find Permutation
    • 772. Basic Calculator III
  • Queue

    • 346. Moving Average from Data Stream
    • 1429. First Unique Number
  • Linked List

    • 1474. Delete N Nodes After M Nodes of a Linked List
    • 708. Insert into a Sorted Circular Linked List
    • 369. Plus One Linked List
    • 1265. Print Immutable Linked List in Reverse
  • Binary Tree

    • 298. Binary Tree Longest Consecutive Sequence
    • 549. Binary Tree Longest Consecutive Sequence II
    • 250. Count Univalue Subtrees
    • 1120. Maximum Average Subtree
    • 545. Boundary of Binary Tree
    • 366. Find Leaves of Binary Tree
    • 314. Binary Tree Vertical Order Traversal
  • Binary Search Tree

    • 270. Closest Binary Search Tree Value
    • 272. Closest Binary Search Tree Value II
    • 255. Verify Preorder Sequence in Binary Search Tree
    • 1214. Two Sum BSTs
    • 333. Largest BST Subtree
  • N-ary Tree

    • 1490. Clone N-ary Tree
    • 1506. Find Root of N-Ary Tree
    • 1522. Diameter of N-Ary Tree
  • Graph

    • 277. Find the Celebrity
    • 582. Kill Process
    • 323. Number of Connected Components in an Undirected Graph
    • 1059. All Paths from Source Lead to Destination
    • 1236. Web Crawler
    • 305. Number of Islands II
    • 694. Number of Distinct Islands
    • 1136. Parallel Courses
  • Graph - Breadth-First Search

    • 490. The Maze
    • 505. The Maze II
    • 499. The Maze III
    • 1197. Minimum Knight Moves
    • 286. Walls and Gates
    • 317. Shortest Distance from All Buildings
    • 269. Alien Dictionary
  • Trie

    • 588. Design In-Memory File System
    • 642. Design Search Autocomplete System
  • Heap

    • 1086. High Five
    • 1167. Minimum Cost to Connect Sticks
    • 1057. Campus Bikes
    • 358. Rearrange String k Distance Apart
  • Binary Search

    • 1228. Missing Number In Arithmetic Progression
    • 1060. Missing Element in Sorted Array
    • 1533. Find the Index of the Large Integer
    • 1150. Check If a Number Is Majority Element in a Sorted Array
    • 1231. Divide Chocolate
    • 644. Maximum Average Subarray II
  • Design

    • 348. Design Tic-Tac-Toe
    • 353. Design Snake Game
    • 604. Design Compressed String Iterator
    • 271. Encode and Decode Strings
    • 281. Zigzag Iterator
    • 716. Max Stack
    • 1244. Design A Leaderboard
    • 428. Serialize and Deserialize N-ary Tree
    • 431. Encode N-ary Tree to Binary Tree
  • Backtracking

    • 247. Strobogrammatic Number II
    • 254. Factor Combinations
    • 1087. Brace Expansion
  • Dynamic Programming

    • 276. Paint Fence
    • 256. Paint House
    • 265. Paint House II
    • 651. 4 Keys Keyboard
    • 1259. Handshakes That Don't Cross
  • Mathematics

    • 1134. Armstrong Number
    • 1180. Count Substrings with Only One Distinct Letter
    • 1538. Guess the Majority in a Hidden Array
    • 1183. Maximum Number of Ones

Comments