随笔分类 - leetcode
摘要:Question Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX_INT. 解题思路 当拿到这道题的时候,就在想为啥Accept率只有
阅读全文
摘要:Question Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1 2 3 4, you should return the list as 2 1 4 3. Yo
阅读全文
摘要:Question: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1 2 3 4 5, and n = 2. Aft
阅读全文
摘要:Question Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
阅读全文
摘要:LeetCode Valid Parentheses Question Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is va
阅读全文
摘要:Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho
阅读全文
摘要:2016 09 24,开始刷leetcode上的算法题,下面整理一下leetcode题目清单。 "Github leetcode" 1.基本数学 Two Sum Palindrome Number Container With Most Water (数学思想) "Increasing Triple
阅读全文

浙公网安备 33010602011771号