{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture10

# Lecture10 - IE 495 Lecture 10 Reading for This Lecture...

This preview shows pages 1–6. Sign up to view the full content.

IE 495 Lecture 10 September 28, 2000

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Reading for This Lecture Primary Horowitz and Sahni, Chapter 2, Section 3
More Data Structures

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Trees A (directed) tree is a directed acylic graph satisfying the following: There is exactly one vertex called the root with in-degree 0. Every other vertex has in-degree 1. There is a path from the root node to every other node. Trees also have a natural recursive definition. Tree terminology If ( u , v ) E , then u is called the father / mother / parent of v and v is called the son / daughter of u . If there is a path from u to v , then v is a descendant of u and u is an ancestor of v .
More Tree Terminology A tree in which each node has out-degree 0, 1, or 2 is called a binary tree . A tree in which the sons are ordered is called an ordered tree . In an ordered binary tree, the two sons are usually called the left son and the right son . The depth or level of a vertex v is the length of the (unique) path from the root to v .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern