z_zhaojun的博客

机会只会留给有准备的人

回顾:树的几种迭代遍历方式

PS:文章最后附上完整代码 一、中序遍历 List<Integer> inOrder(BTree root) { List<Integer> result...

2018-05-09 19:56:50

阅读数:34

评论数:0

leetcode:283. Move Zeroes(Java)解答

转载请注明出处:z_zhaojun的博客 原文地址:http://blog.csdn.net/u012975705 题目地址:https://leetcode.com/problems/move-zeroes/ Move Zeroes Given an array nums, write ...

2016-01-10 21:05:39

阅读数:1811

评论数:1

leetcode:119. Pascal's Triangle II(Java)解答

转载请注明出处:z_zhaojun的博客 原文地址:http://blog.csdn.net/u012975705/ 题目地址:https://leetcode.com/problems/pascals-triangle-ii/ Pascal’s Triangle II Given...

2016-01-10 17:52:58

阅读数:1732

评论数:0

leetcode:142. Linked List Cycle II(Java)解答

转载请注明出处:z_zhaojun的博客 原文地址:http://blog.csdn.net/u012975705 题目地址:https://leetcode.com/problems/linked-list-cycle-ii/ Linked List Cycle II Give...

2015-12-27 16:36:19

阅读数:2270

评论数:1

leetcode:82. Remove Duplicates from Sorted List II(Java)解答

转载请注明出处:z_zhaojun的博客 原文地址:http://blog.csdn.net/u012975705 题目地址:https://leetcode.com/problems/reverse-linked-list-ii/ Remove Duplicates from Sorte...

2015-12-27 00:18:19

阅读数:1433

评论数:1

leetcode:92. Reverse Linked List II(Java)解答

转载请注明出处:z_zhaojun的博客 原文地址:http://blog.csdn.net/u012975705 题目地址:https://leetcode.com/problems/reverse-linked-list-ii/Reverse Linked List IIReverse a...

2015-12-26 16:14:34

阅读数:1901

评论数:0

ArrayList和LinkedList的几种循环遍历方式及性能对比分

转自:http://www.trinea.cn/android/arraylist-linkedlist-loop-performance/ 主要介绍ArrayList和LinkedList这两种list的五种循环遍历方式,各种方式的性能测试对比,根据ArrayList和LinkedList的源...

2015-09-21 19:36:36

阅读数:3082

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭