LeetCode题解
文章平均质量分 89
imhadwin
这个作者很懒,什么都没留下…
展开
-
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 brackets.Open brackets must be closed in t原创 2020-08-20 12:41:35 · 242 阅读 · 0 评论 -
LeetCode - 13. Roman to Integer
文章目录题干代码解题思路题干Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D 500M 1000For example, two i原创 2020-08-20 10:31:15 · 187 阅读 · 0 评论 -
LeetCode - 633. Sum of Square Numbers
目录概述ExampleExplanation思路代码LeetCode:633. Sum of Square Numbers概述EasyGiven a non-negative integer c, your task is to decide whether there’re two integers a and b such that a2 + b2 = c.一个非负数能否是两个数的...原创 2020-05-05 09:03:12 · 114 阅读 · 0 评论 -
LeetCode - 167.Two Sum II - Input array is sorted
@[TO奥德赛)欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。[ ][ ] sas我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写...原创 2020-05-05 08:22:12 · 177 阅读 · 0 评论