2016年8月8日

141. Linked List Cycle

摘要: 1. 问题描述 Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Tags: Linked List Two PointersSimi 阅读全文

posted @ 2016-08-08 23:34 whl-hl 阅读(137) 评论(0) 推荐(0)

70. Climbing Stairs

摘要: 1. 问题描述 You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can 阅读全文

posted @ 2016-08-08 22:39 whl-hl 阅读(136) 评论(0) 推荐(0)

导航