Generate All Strings With n Matched Parentheses

Table of Contents:

Introduction (you can skip this) 0:00 - 0:33
Talking About The Implications Of Today's Video (you can skip this) 0:33 - 1:08
The Problem Introduction 1:08 - 3:00
The 3 Keys To Backtracking (As Always) 3:00 - 5:01
Tracing The Recursion Tree: Watch The States 5:01 - 10:16
Time Complexity 10:16 - 10:48
Space Complexity 10:48 - 11:19
Closing 11:19 - 11:41

Code: https://github.com/bephrem1/backtobackswe/blob/master/Dynamic%20Programming%2C%20Recursion%2C%20%26%20Backtracking/GenerateNMatchedParenStrings/GenerateNMatchedParenStrings.java
Leetcode Link: https://leetcode.com/problems/generate-parentheses/
Elements of Programming Interviews: 16.6

Discussion

0 comments