Question: Respond to the classmate who published their initial post right above yours. If you posted first, then respond to the last classmate's post on the

Respond to the classmate who published their initial post right above yours. If you posted first, then respond to the last classmate's post on the discussion board.
In your response, answer the following questions:
Did your classmate answer all questions correctly? If not, identify and correct the mistakes.Use your classmates first tree in Part 1 and list the vertices using in-order traversal.Use your classmates second tree in Part 1 and list the vertices using post-order traversal.Use your classmates first tree in Part 1 and list the vertices using pre-order traversal.Find the degree of each vertex of your classmates graph Km,n.
Classmate Response:
Hello class,
Using my name, Larissa Allen, the longer name is Larissa (7 characters).
Pre-order Traversal
In-order Traversal
Post-order Traversal
Part 2: Graph Questions
Edges in Km,nK_{m,n}Km,n
n=7n =7n=7(first name length), m=5m =5m=5(last name length).
The number of edges in Km,nK_{m,n}Km,n is mn=57=35m \times n =5\times 7=35mn=57=35.
To create Km,nK_{m,n}Km,n, use vertices numbered 111 to 121212(total m+n=12m + n =12m+n=12). Assign 111 to 555 to one set and 666 to 121212 to the other set.
Edges in Kn+mK_{n+m}Kn+m
n+m=12n + m =12n+m=12.
Kn+mK_{n+m}Kn+m has n+m2(n+m1)=12112=66\frac{n+m}{2}\times (n+m-1)=\frac{12\times 11}{2}=662n+m(n+m1)=21211=66 edges.
Edges in Wm+nW_{m+n}Wm+n
Wm+nW_{m+n}Wm+n has (m+n)+(m+n1)(m+n2)2(m+n)+\frac{(m+n-1)(m+n-2)}{2}(m+n)+2(m+n1)(m+n2) edges.
Plugging in m+n=12m+n =12m+n=12, we get 12+11102=12+55=6712+\frac{11\times 10}{2}=12+55=6712+21110=12+55=67 edges.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!