Barclays interview question

DNA Sequencing / Replacing