Question: 2 . 2 N - th Cousin Write the function nth _ cousin ( name 1 , name 2 , tree ) to find the
Nth Cousin
Write the function nthcousinname name tree to find the value n such that name is the nth cousin of nameand vice versa since the relationship is symmetric If they are not nth cousin, return Remember, the smallest value of n is if they are cousin.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
