摘要: 141. Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 判断一个单链表中是否存在环。不利用 阅读全文
posted @ 2016-10-10 21:22 花椰菜菜菜菜 阅读(116) 评论(0) 推荐(0)
摘要: 137. Single Number II Given an array of integers, every element appears three times except for one. Find that single one. Note:Your algorithm should h 阅读全文
posted @ 2016-10-10 20:59 花椰菜菜菜菜 阅读(108) 评论(0) 推荐(0)