← Amazon questions
CodingReported in a candidate post, Dec 2024

Balanced parentheses

Filed under Amazon · Also reported at Accolite, Incture Technologies, Informatica, OYO, Societe Generale, VMware, Wissen, Xoriant and 1 more

Given a string containing only the characters ()[]{}, determine whether it is balanced: every opening bracket is closed by the same type of bracket and in the correct order.

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.