摘要: Question Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1 2 3 4, you should return the list as 2 1 4 3. Yo 阅读全文
posted @ 2016-01-25 16:21 VicHawk 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Question There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you togg 阅读全文
posted @ 2016-01-25 14:46 VicHawk 阅读(146) 评论(0) 推荐(0) 编辑