All Posts

Sort Colors Problem

LeetCode 75. Given an array nums with n objects colored...

Simplify Path Problem

LeetCode 71. Given a string path, which is an absolute...

Set Matrix Zeroes Problem

LeetCode 73. Given an m x n integer matrix matrix,...

Search A 2D Matrix Problem

LeetCode 74. Write an efficient algorithm that searches for a...

Minimum Window Substring Problem

LeetCode 76. Given two strings s and t of lengths...

Edit Distance Problem

LeetCode 72. Given two strings word1 and word2, return the...

Combinations Problem

LeetCode 77. Given two integers n and k, return all...


Valid Number Problem

LeetCode 65. Given a string s, return true if s...

Unique Paths Problem

LeetCode 62. A robot is located at the top-left corner...

Unique Paths II Problem

LeetCode 63. A robot is located at the top-left corner...

Text Justification Problem

LeetCode 68. Given an array of strings words and a...

Rotate List Problem

LeetCode 61. Given the head of a linked list, rotate...

Plus One Problem

LeetCode 66. You are given a large integer represented as...

Minimum Path Sum Problem

LeetCode 64. Given a m x n grid filled with...

Climbing Stairs Problem

LeetCode 70. You are climbing a staircase. It takes n...


Valid Number Problem

LeetCode 67. A robot is located at the top-left corner...