Generate Parentheses - Leetcode 22 - Python

preview_player
Показать описание
Leetcode 22 - Generate Parentheses

0:00 Introduction
0:16 Read The Problem
0:52 Approach 1, O(2^(2n)*n) time
1:54 Approach 2, O(4^n/n^0.5) time (Optimal)
2:56 Example Walkthrough
3:57 Time Complexity Explanation
4:52 Coding

#leetcode #python #codinginterviews #python3
Рекомендации по теме
Комментарии
Автор

0:00 Introduction
0:16 Read The Problem
0:52 Approach 1, O(2^(2n)*n) time
1:54 Approach 2, O(4^n/n^0.5) time (Optimal)
3:57 Time Complexity Explanation
4:52 Coding

timhuang
join shbcf.ru