Back to Questions

Valid Parentheses

72.1K viewsAsked 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.

Practice with This Question
Valid Parentheses - Interview Question