摘要:
Question:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain ... 阅读全文
摘要:
Question:Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. ... 阅读全文
摘要:
Question:Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?Analysis:给出一个链表,能否在O(n)的时间和... 阅读全文
摘要:
相似题目:Palindrome NumberValid PalinDromeReverseLinked ListPalindrome Linked ListQuestion:Determine whether an integer is a palindrome. Do this without e... 阅读全文
摘要:
呜呜呜~要感动cry了,提交了AC解答后,beats 100% of java submissions!!第一次感受到coding和algorithm带给人的愉悦感,加油加油啊~Quesion:Given a sorted integer array without duplicates, retu... 阅读全文