Title Template
Autodesk - Software Engineer - 3
Description Template:
Level: L2
Education: College
Years of Experience: 2
Questions Asked:
- Valid parenthesis LC question
Return true / false whether the string of parenthesis are valid or not.
Example:
Given {()}]
, return a boolean that dictates whether it’s valid or not. A valid parenthesis would consist of all opening parenthesis to be closed by the end of the string. The example provided in this case would be invalid.