摘要:
https://leetcode.com/problems/remove-linked-list-elements/Remove all elements from a linked list of integers that have valueval.ExampleGiven:1 --> 2 -... 阅读全文
摘要:
https://leetcode.com/problems/remove-nth-node-from-end-of-list/Given a linked list, remove thenthnode from the end of list and return its head.For exa... 阅读全文
摘要:
https://leetcode.com/problems/longest-common-prefix/Write a function to find the longest common prefix string amongst an array of strings 1 public cla... 阅读全文
摘要:
https://leetcode.com/problems/roman-to-integer/Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 39... 阅读全文
摘要:
https://leetcode.com/problems/palindrome-number/Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some ... 阅读全文
摘要:
https://leetcode.com/problems/string-to-integer-atoi/Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. ... 阅读全文
摘要:
https://leetcode.com/problems/zigzag-conversion/题目理解:http://blog.csdn.net/ljiabin/article/details/40477429The string"PAYPALISHIRING"is written in a zi... 阅读全文
摘要:
https://leetcode.com/problems/happy-number/Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following ... 阅读全文
摘要:
https://leetcode.com/problems/valid-parentheses/Given a string containing just the characters'(',')','{','}','['and']', determine if the input string ... 阅读全文
摘要:
https://leetcode.com/problems/isomorphic-strings/Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters... 阅读全文