- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Leetcode 773. Sliding Puzzle
题目On a 2x3 board, there are 5 tiles represented by the integers 1 through 5, and an empty square represented by 0.A move consists of choosing 0 and a 4-directionally adjacent number and swapping it....
2018-09-30 19:14:20 462
原创 Leetcode 207. Course Schedule
Leetcode 207. Course Schedule题目There are a total of n courses you have to take, labeled from 0 to n-1.Some courses may have prerequisites, for example to take course 0 you have to first take cours...
2018-09-23 02:11:56 178
原创 Leetcode 240. Search a 2D Matrix II
Leetcode 240. Search a 2D Matrix II题目Solution with O(n2) or O(nlogn)分析Solution with O(nlogn)分析Solution with O(nlog3) = O(n1.58)分析Solution with O(m+n)分析Leetcode 240. Search...
2018-09-13 21:12:07 595
原创 Leetcode 215. Kth Largest Element in an Array
Leetcode 215. Kth Largest Element in an Array题目Find the **k**th largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element....
2018-09-09 16:18:24 200
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人