
算法与数据结构
文章平均质量分 80
Epanda
喜欢散文喜欢新鲜乐观向上欣喜于不经意之间的进步
展开
-
二叉树新建、前序、中序、后序遍历非递归写法
/************************************************************************/ /* 包括内容: 1、二叉树的建立 2、二叉树的遍历(先序、中序和后序的递归、非递归遍历) 3、二叉树的层次遍历 4、二叉树的深度 5、二叉树的重建 */ /****************************************原创 2015-07-01 22:10:23 · 561 阅读 · 0 评论 -
Longest Substring Without Repeating Characters
1、题目 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3原创 2015-07-22 21:02:32 · 317 阅读 · 0 评论 -
Leetcode 07 Integer Reverse问题
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before coding.原创 2015-08-31 16:39:54 · 452 阅读 · 0 评论