Amazon Interview Question

How would you write a software for dna matching.