- 博客(5)
- 收藏
- 关注
原创 Leetcode:Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB Credits
2015-03-31 18:33:02 284
原创 Leetcode:Consecutive Numbers
Write a SQL query to find all numbers that appear at least three times consecutively.+----+-----+| Id | Num |+----+-----+| 1 | 1 || 2 | 1 || 3 | 1 || 4 | 2 || 5 | 1 || 6 | 2
2015-03-06 14:03:17 296
原创 Leetcode:Rotate Array
Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].Note:Try to come up as many solutions as yo
2015-03-05 17:12:12 272
原创 Leetcode:Merge Intervals
Merge Intervals Total Accepted: 28629 Total Submissions: 131118My SubmissionsQuestion Solution Given a collection of intervals, merge all overlapping intervals.For example,Gi
2015-03-04 17:19:39 199
原创 Leetcode: Single Number II
Single Number II Total Accepted: 38394 Total Submissions: 111675My SubmissionsQuestion Solution Given an array of integers, every element appears three times except for one. Find
2015-01-26 17:35:51 295
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人