摘要: 题目链接: https://oj.leetcode.com/problems/merge-k-sorted-lists/ 问题: Merge k sorted linked lists and return it as one sorted list. Analyze and describe it 阅读全文
posted @ 2016-08-19 17:15 沫沫_fun 阅读(244) 评论(0) 推荐(0)
摘要: 题目链接: https://oj.leetcode.com/problems/add-two-numbers/ 问题: You are given two linked lists representing two non-negative numbers. The digits are store 阅读全文
posted @ 2016-08-18 17:48 沫沫_fun 阅读(161) 评论(0) 推荐(0)
摘要: 题目链接:https://oj.leetcode.com/problems/palindrome-number/ 问题:Determine whether an integer is a palindrome. Do this without extra space. 针对本题可能存在的疑惑 1)负 阅读全文
posted @ 2016-08-18 14:28 沫沫_fun 阅读(119) 评论(0) 推荐(0)
摘要: 题目链接:https://leetcode.com/problems/plus-one/ Given a non-negative number represented as an array of digits, plus one to the number. The digits are sto 阅读全文
posted @ 2016-08-18 10:54 沫沫_fun 阅读(107) 评论(4) 推荐(0)
摘要: 题目链接:https://oj.leetcode.com/problems/two-sum/ 问题: Given an array of integers, return indices of the two numbers such that they add up to a specific t 阅读全文
posted @ 2016-08-17 16:55 沫沫_fun 阅读(118) 评论(2) 推荐(0)
摘要: 题目链接:https://oj.leetcode.com/problems/valid-palindrome/ 问题: Given a string, determine if it is a palindrome, considering only alphanumeric characters 阅读全文
posted @ 2016-08-17 13:11 沫沫_fun 阅读(177) 评论(0) 推荐(0)
摘要: 题目链接: https://oj.leetcode.com/problems/reverse-words-in-a-string/ 问题: Given an input string, reverse the string word by word. For example, Given s = " 阅读全文
posted @ 2016-08-17 12:00 沫沫_fun 阅读(170) 评论(0) 推荐(0)
摘要: 题目链接: https://oj.leetcode.com/problems/string-to-integer-atoi/ 问题: Implement atoi to convert a string to an integer. Notes: It is intended for this pr 阅读全文
posted @ 2016-08-17 11:04 沫沫_fun 阅读(112) 评论(0) 推荐(0)
摘要: 题目链接:https://leetcode.com/problems/valid-number/ 原题: Validate if a given string is numeric. Some examples: "0" => true " 0.1 " => true "abc" => false 阅读全文
posted @ 2016-08-17 10:35 沫沫_fun 阅读(122) 评论(0) 推荐(0)