Possible ABO Parent Genotypes
Given the ABO phenotypes of two parents and one child, return every possible parent-genotype combination that can produce the child's phenotype.
The only phenotype inputs are A, B, AB, and O....
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
