Red Hat Interview Question

They asked the reverse compliment dna sequence algo