CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE
Spring 2017
March 21, 2017
1
CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2017 March 21, - - PowerPoint PPT Presentation
1 CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2017 March 21, 2017 2 Logistics Prof. Stacy Patterson sep@cs.rpi.edu, pattes3@rpi.edu Office hours: Monday 2pm 3:30pm (or by appointment) in Lally 301 Homework 5 is due
March 21, 2017
1
2
these steps:
is true for all positive integers k ≥ b
3
Prove that a set with n elements has n(n-1)/2 subsets with exactly 2 elements.
4
5
6
7
vertices.
8
vertex called the root.
9
the graph formed by starting with a root r, which is not in any of T1, … , Tm, and adding an edge from the root of each Ti to r is a rooted tree.
10
children.
binary tree, denoted T1T2, consisting of a root r with edges connecting to the roots of T1 and T2.
11
full binary tree, denoted T1T2, consisting of a root r with edges connecting to the roots of T1 and T2.
12
binary tree, denoted T1T2, consisting of a root r with edges connecting to the roots of T1 and T2.
13
14
15
16
17