摘要:
题目链接 "https://leetcode.com/problems/search a 2d matrix/" 题目原文
Write an efficient algorithm that searches for a value in an m x n matrix. This mat... 阅读全文
摘要:
题目链接 "https://leetcode.com/problems/set matrix zeroes/" 题目原文
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it ... 阅读全文
摘要:
题目链接 "https://leetcode.com/problems/edit distance/" 题目原文
Given two words word1 and word2, find the minimum number of steps required to convert wo... 阅读全文
摘要:
题目链接 "https://leetcode.com/problems/simplify path/" 题目原文
Given an absolute path for a file (Unix style), simplify it. For example,
path = , = p... 阅读全文
摘要:
题目链接 "https://leetcode.com/problems/climbing stairs/" 题目原文
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can... 阅读全文
摘要:
题目链接 "https://leetcode.com/problems/text justification/" 题目原文
Given an array of words and a length L, format the text such that each line has exa... 阅读全文