摘要: Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? 阅读全文
posted @ 2016-05-19 23:34 米开朗菠萝 阅读(229) 评论(0) 推荐(0)
摘要: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in 阅读全文
posted @ 2016-05-19 23:09 米开朗菠萝 阅读(186) 评论(0) 推荐(0)
摘要: Remove all elements from a linked list of integers that have value val. ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 -- 阅读全文
posted @ 2016-05-19 22:42 米开朗菠萝 阅读(199) 评论(0) 推荐(0)