leetcode算法历程
杨明诚
明则诚矣,诚则明矣
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 7 Reverse Integer
Description: 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 Note: Ass...原创 2018-11-15 22:46:06 · 225 阅读 · 0 评论 -
LeetCode 20. Valid Parentheses
问题: Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of...原创 2018-12-26 22:38:03 · 299 阅读 · 1 评论 -
LeetCode Remove Duplicates from Sorted Array
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...原创 2018-12-27 21:52:59 · 322 阅读 · 0 评论 -
LeetCode Remove Element
Remove Element Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying ...原创 2018-12-27 22:39:45 · 403 阅读 · 2 评论 -
LeetCode [Roman to Integer]
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D ...原创 2018-12-25 22:43:35 · 364 阅读 · 1 评论
分享