HackerRank OA Coding Question Solved | Balanced Bracket Adjustments

Question · Posted Mar 2026

Question 1: Convertible Balanced Bracket Sequence Problem Statement: Given a dataset of strings containing only parentheses, characters '(' and ')', the data represented by the string is valid if it is a balanced bracket sequence.One adjustment to the string can be made: at most one bracket can be moved from its original place to any other position in the string. The task is to determine whether, for each string, it is possible to balance the bracket sequence in 1 move ...

The full answer & interview discussion are available to premium members.

Log in Create a free account