Valid Parentheses - LeetCode 20 - JavaScript

preview_player
Показать описание


Step by step walk through of the solution to the popular Amazon coding interview question, Valid Parentheses.

LeetCode 20

JavaScript

0:00 Intro
0:50 Explanation
4:31 Code

#softwareengineering #javascript #leetcode
Рекомендации по теме
Комментарии
Автор

Thanks for this man. Very clear explanations 🙏

okereobinna
Автор

Instead of .length == 1, you can check to see if it's an odd length. If it's an odd length, can never be valid

dandandan