Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,165,117 members, 7,860,030 topics. Date: Friday, 14 June 2024 at 12:46 AM

Tree Traversal Techniques In Data Structure - Education - Nairaland

Nairaland Forum / Nairaland / General / Education / Tree Traversal Techniques In Data Structure (524 Views)

The Application Of Standard Costing Techniques In Manufacturing Company / Secondary Students Hang On Tree In Edo (Pictured) / Justice Development And Peace Commission Where Kids Learn Under The Tree (photo) (2) (3) (4)

(1) (Reply)

Tree Traversal Techniques In Data Structure by gatecrack: 10:08am On Jul 10, 2015
In data structure tree traversal techniques are of three types

1). Inorder Traversal
2). Preorder Traversal
3). Postorder Traversal

In Inorder Traversal left subtree is traversed first in inorder fashion, then root node and at last right sub tree is processed
In Preorder traversal root node is traversed first then left sub tree in inorder fashion and at last right sub tree in inorder fashion
In Post order traversal root is traversed at last first left subtree is traversed, then right subtree and at last root is traversed

Ref: http://gatecrack.org/tree-traversal-techniques-in-data-structure-with-example/

(1) (Reply)

;D Children Can Be Funny At Times ;D / Who Can Solve This? / Federal University, Dutse, Jigawa State 2015/16 Post Utme Form, Admission Form,

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.