23andMe interview question

Basic coding task with focus on edge cases