摘要: Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Example 2: broken solution : check the boundary revision 阅读全文
posted @ 2018-05-25 12:38 wz30 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian 阅读全文
posted @ 2018-05-25 10:12 wz30 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? Solution: solve the problem with one and 阅读全文
posted @ 2018-05-25 09:43 wz30 阅读(83) 评论(0) 推荐(0) 编辑