摘要: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 阅读全文
posted @ 2017-03-20 19:44 Ci_pea 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex 阅读全文
posted @ 2017-03-20 19:38 Ci_pea 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Given a string, determine if it is a palindrome(回文), considering only alphanumeric(字母数字的) characters and ignoring cases. For example,"A man, a plan, a 阅读全文
posted @ 2017-03-20 19:00 Ci_pea 阅读(158) 评论(0) 推荐(0) 编辑