← Amazon questions

String query operations

Filed under Amazon

Given an initial string and a sequence of queries, support three operations: insert a character at the front, insert a character at the end, and reverse the entire string. Return the final string or…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.