阅读背景:

Given a family tree, find out if two people are blood related

来源:互联网 

Given a family tree for a few generations for the entire population and two people write a routine that will find out if they are blood related. Siblings are blood related since they have the same parents. Cousins are blood related since one of their parents have the same parents etc. Design the data structure first and then write the routine.Given a family tree for a few generations for t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: