Senior Software Developer Interview Questions

6,890 senior software developer interview questions shared by candidates

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Every close bracket has a corresponding open bracket of the same type.
avatar

Senior Software Developer

Interviewed at Greytip

4
Jun 13, 2023

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Every close bracket has a corresponding open bracket of the same type.

Viewing 6141 - 6150 interview questions

Glassdoor has 6,890 interview questions and reports from Senior software developer interviews. Prepare for your interview. Get hired. Love your job.