
LeetCode算法
文章平均质量分 85
顽强的小豆子
逆风的方向,更适合飞翔
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Reverse Integer
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 // ConsoleApplication2...原创 2018-10-11 21:27:30 · 151 阅读 · 0 评论 -
Merge Two Sorted Lists
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. Example: Input: 1->2->4, 1->3->4 Output: 1-...原创 2018-10-12 21:31:49 · 161 阅读 · 0 评论 -
Remove Duplicates from Sorted Array
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this by modifyi...原创 2018-10-15 22:00:35 · 190 阅读 · 0 评论