LeetCode
南山喃.plus
这个作者很懒,什么都没留下…
展开
-
LeetCode之Add two Numbers两数相加
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i...原创 2019-07-16 16:03:35 · 137 阅读 · 0 评论 -
LeetCode之string to integer(atoi)字符串转换为整数
问题描述Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from...转载 2019-07-30 16:48:06 · 95 阅读 · 0 评论 -
LeetCode之Reverse integer(Easy)翻转整数
Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dealing with an ...原创 2019-07-21 18:23:09 · 169 阅读 · 0 评论