[Community Puzzle] "You are the Father": Maury Povich Style

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Lisa-Has-Ideas,validated by @aflorido,@_yel_p and @Rafarafa.
If you have any issues, feel free to ping them.

1 Like

In some cases, according to the statement there can be more than 1 father.

For example as follows:
{ name: ‘Rhodes’, pair1: ‘hD’, pair2: ‘Ba’ }
{ name: ‘Tate’, pair1: ‘aD’, pair2: ‘BM’ }

{ name: ‘Mother Taylor’, pair1: ‘:3’, pair2: ‘Ko’ }
{ name: ‘Child Camila’, pair1: ‘D3’, pair2: ‘KB’ }

Hi-
Thanks for playing my puzzle

I think maybe you’re assuming that all the cases are ones where the number of chromosome pairs is only 2

But that’s only true in the very simple example that I give in the description.

For test cases, you have to check EVERY provided chromosome pair for a match, not just the first 2 pairs

I hope that helps :smiley_cat:

1 Like