leetcode
木木甫
一个喜欢学习的学生
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode3-Longest Substring Without Repeating Characters
class Solution { public int lengthOfLongestSubstring(String s) { if (s== null || s.length() == 0){ return 0; } int max = 0; int temp = 0; char ...原创 2018-10-14 12:04:13 · 156 阅读 · 0 评论 -
leetcode20--valid parentheses
class Solution { public boolean isValid(String s) { if (s == null || s.length() % 2 != 0) { return false; } Stack<Character> stack = new Stack<>()...原创 2018-10-14 12:06:47 · 183 阅读 · 0 评论
分享