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.
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.
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
Hi,
In test case 6, Ronald doesn’t have the same number of chromosome pairs as the other possible fathers. Is this correct?
Jonathan: #y 'R vy =- %b 91 ?? 8b f9 NI uj C; Zd *, !m Hk 2S IP I7 +0 8r vS Vy 6o Ne /( v? !: s& K) rH A# Ru T- 93 9h
Ronald: z# RP y< (- d% "& Tp JF ;5 b< $g md 6y Va IP ex z& qz Pk :4 cY x: :M 4s (# n, r( Mj i( 1s c1 "= sV B
In the test case, all people do have the same number of chromosome pairs. Ronald’s chromosomes that you posted is truncated.
Oooops! Sorry, should have realized that. Thanks!