Leetcode
Rigel.C
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Leetcode.寻找不重复的最长子字符串
题号:3 原题:Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. // 给定一个字符串,找到最长子串,里面不能有重复的字符。 Examples:Given "abcabcbb",原创 2017-01-18 21:17:37 · 1548 阅读 · 1 评论 -
LeetCode by Java. binary-tree-preorder-traversal
原题描述: Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree{1,#,2,3}, 分析: 先序遍历,遍历顺序为:根节点 -> 左子树 -> 右子树 代码: /** * Definition for bi原创 2017-10-17 17:10:14 · 362 阅读 · 0 评论
分享