Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Valid Parenthesesを解きました。レビューをお願いいたします。
問題:https://leetcode.com/problems/valid-parentheses/
言語:Go
プッシュダウンオートマトン
再帰下降構文解析でも解くことができる
https://discord.com/channels/1084280443945353267/1226508154833993788/1232008948052131941
https://discord.com/channels/1084280443945353267/1235829049511903273/1238815737548898346
https://discord.com/channels/1084280443945353267/1235829049511903273/1238903676484063365
https://ja.wikipedia.org/wiki/再帰下降構文解析
https://www.sigbus.info/compilerbook#文法の記述方法と再帰下降構文解析
https://x.com/hikalium/status/1134772653955272705
Brackets VS Parentheses
基本的にparenthesisというと丸括弧のことを指し、括弧全般を指すのであればbracketを使う。
https://en.wikipedia.org/wiki/Bracket
Operator precedence
Go
https://go.dev/ref/spec#Operator_precedence
Python
https://docs.python.org/3/reference/expressions.html#operator-precedence
Java
すでに解いている方々:
hayashi-ay/leetcode#16
colorbox/leetcode#4
cheeseNA/leetcode#10
Mike0121/LeetCode#2
Exzrgs/LeetCode#5
goto-untrapped/Arai60#10
sakzk/leetcode#6
TORUS0818/leetcode#8
kzhra/Grind41#2
fhiyo/leetcode#6
Ryotaro25/leetcode_first60#7
kagetora0924/leetcode-grind#8
kazukiii/leetcode#7
seal-azarashi/leetcode#6
ryoooooory/LeetCode#13
Yoshiki-Iwasa/Arai60#5
hroc135/leetcode#6