Myriad Genetics Interview Question

Reverse string with given corresponding string. Design a simple system. question related to Tries.