Data Structures and Algorithms with JavaScript by Michael McMillan
Author:Michael McMillan
Language: eng
Format: epub, pdf
ISBN: 9781449364939
Publisher: O’Reilly Media, Inc.
Published: 2014-04-08T16:00:00+00:00
Figure 10-1. An organizational chart is a tree structure
Figure 10-2 displays another tree that defines more of the terms we need when discussing trees. The top node of a tree is called the root node. If a node is connected to other nodes below it, the preceding node is called the parent node, and the nodes following it are called child nodes. A node can have zero, one, or more child nodes connected to it. A node without any child nodes is called a leaf node.
Special types of trees, called binary trees, restrict the number of child nodes to no more than two. Binary trees have certain computational properties that make them very efficient for many operations. Binary trees are examined extensively in the sections to follow.
Continuing to examine Figure 10-2, you can see that by following certain edges, you can travel from one node to other nodes that are not directly connected. The series of edges you follow to get from one node to another node is called a path. Paths are depicted in the figure with dashed lines. Visiting all the nodes in a tree in some particular order is known as a tree traversal.
Download
Data Structures and Algorithms with JavaScript by Michael McMillan.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12528)
Hello! Python by Anthony Briggs(9873)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9763)
The Mikado Method by Ola Ellnestam Daniel Brolund(9754)
Dependency Injection in .NET by Mark Seemann(9300)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8264)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7748)
Grails in Action by Glen Smith Peter Ledbrook(7673)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7523)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(6771)
Microservices with Go by Alexander Shuiskov(6540)
Practical Design Patterns for Java Developers by Miroslav Wengner(6434)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6412)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6385)
Angular Projects - Third Edition by Aristeidis Bampakos(5801)
The Art of Crafting User Stories by The Art of Crafting User Stories(5325)
NetSuite for Consultants - Second Edition by Peter Ries(5266)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5086)
Kotlin in Action by Dmitry Jemerov(5025)
