BackDSA1 reportAAutodeskValid Parentheses (Stack)0upvotesI was asked thisProblem Given a string of brackets drawn from ()[]{}, determine whether it is validly nested: every opener is closed by a matching bracket of the same type, in the correct order. Input / Output Input: string s of bracket characters. Output: boolean. Constraints 1 ≤ |s| ≤ 10^4. Odd length → immediately invalid. Example "([{}])" → true; "([)]" → false; "()[]" → true. Follow-ups(2)Hints0/3Show a hintDomainsBackend EngineerReport