leetcode
Mcrazji
一直在学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same e...原创 2018-02-26 23:20:31 · 129 阅读 · 0 评论 -
leetcode Reverse Integer
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 envi...原创 2018-02-27 00:03:00 · 137 阅读 · 0 评论 -
LeetCode Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct order,"()"and"()[]{}"are all valid bu...原创 2018-02-28 20:44:37 · 179 阅读 · 0 评论 -
LeetCode gas-station 加油站解题思路
一、题目描述There are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank and it costs cost[i] of gasto travel from statio...原创 2019-07-16 17:17:22 · 538 阅读 · 0 评论
分享