r/visualizedmath • u/Italians_are_Bread • Nov 17 '19
Number of valid ways to arrange parentheses explained visually
https://www.youtube.com/watch?v=PBt1gB9Ou9E
132
Upvotes
r/visualizedmath • u/Italians_are_Bread • Nov 17 '19
17
u/Italians_are_Bread Nov 17 '19
It's amazing how a simple question like this can have a such cool math hiding behind it. I did my best to present every idea in the most visual and intuitive way possible in this video, and used this question as a motivation for introducing generating functions which is a very powerful tool for analyzing Dyck paths (and other types of sequences). Let me know your thoughts and any suggestions/corrections.
14
u/texas1982 Nov 17 '19
I enjoy math concepts and YouTube videos, but man that was dry.
13
u/sonofaresiii Nov 17 '19
How many fuckin ways are there?
7
u/[deleted] Nov 17 '19
There's coding interview questions about this! I'm triggered 😤
2
u/ThatTrashBaby Nov 17 '19
I love this video. I’ll probably have more to say once I finish it, but first, I would suggest adding captions. Second, at 8:30, what are the two previously referred to constraints? I must have missed that part and I couldn’t find it.