Reverse a DNA string and swap complementary letters
Filed under Meesho
The question
Given a string over the characters A, C, G, T, output its reverse with A and G swapped and C and T swapped.
No write-up yet. Related questions below have one.
Related Meesho questions
Collected from public candidate posts and coding forums. Updated Nov 2026.