Assuming: the genetic makeup (genotype) of a child is coded as a pair with two components, combining half genotype of one parent with half from the other parent, the possibilities are:
The corresponding blood group of the child will be observed (phenotype) to be A, AB, A, B, B, and O respectively. Given either genotype (3 characters, such as 'A+O') or phenotype (1 or 2 characters, such as 'A' or 'AB') of a child, a putative father, and a putative mother, determine 'maybe' or 'unlikely'.
552 Solvers
Return the first and last character of a string
1658 Solvers
687 Solvers
105 Solvers
245 Solvers
Solution 216369
i think this problem needs more test case