剑知北美生活快报   版面列表   admin登录
JiansNet Logo


difference between "Depth Search First" and "In Order search

by JC, published: 2009-02-08 16:48 viewed: 67 times
想了解更多的美国生活窍门?请订阅: JC写的剑知北美生活快报。
both search is using tree's traversal algorithm,

depth search is pre-order search:
1

/ \
2 5
/ \ / \
3 4 6 7

(in which the number stands for the search order)

in order search is ... in order
4

/ \
2 6
/ \ / \
1 3 5 7

like a clockwise counting, starting from leaf nodes
本文版权属于美国剑知信息网。如需转载,请先同我们联系。
订阅JC写的剑知北美生活快报,您会了解到更多的美国生活窍门。
Related Articles:
• IHOP 餐馆的最新促销活动信息
美国职业发展 | 返回顶部 | 返回首页
About Us | Advertise with Us | Privacy Policy
Copyright © 2007-2016, All Rights Reserved.