- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 #leetcode#38. Count and Say
The count-and-say sequence is the sequence of integers with the first five terms as following:1. 12. 113. 214. 12115. 1112211 is read off as "one 1" or 11.11 is read o
2017-06-14 16:07:12 478
原创 #leetcode#547. Friend Circles
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct friend of B, and B is a direct friend of C, the
2017-06-14 15:29:28 540
原创 #leetcode#500 Keyboard Row
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below.Example 1:Input: ["Hello", "Alaska", "Da
2017-06-11 11:13:55 339
原创 #leetcode#Ugly Numbers 2
Write a program to find the n-th ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of the first
2017-06-10 15:12:52 342
原创 #leetcode#305. Number of Islands II
A 2d grid map of m rows andn columns is initially filled with water. We may perform anaddLand operation which turns the water at position (row, col) into a land. Given a list of positions to opera
2017-06-02 16:27:20 665
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人