Back to QuestionsPractice with This Question
Valid Parentheses
72.1K views•Asked at Apple•
Easy
Question Explain
Given a string `s` containing just '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Must use a Stack data structure.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.