Champagne Tower with Dynamic Programming - LeetCode #799 | Python, JavaScript, Java, C++

preview_player
Показать описание
Let's solve Champagne Tower with Python, JavaScript, Java and C++ LeetCode #799! This is LeetCode daily coding challenge on September, 24th, 2023.

------------------------------------------------------------------------------------------------------
⭐️ Please subscribe to my channel from here.

⭐️ Relaxing Channel I've been working on. Please subscribe from here.

⭐️ Please upvote my article.
------------------------------------------------------------------------------------------------------

■ Timeline
0:00 Read the question of Champagne Tower
1:33 How we think about a solution
3:28 Coding with 2D
7:09 Time Complexity and Space Complexity with 2D
7:49 Coding with 1D
10:49 Time Complexity and Space Complexity with 1D

■ Blind 75 LeetCode questions

■ Twitter

■ Instagram

■ Problem Link

■ Codes in the video
- Python with 1D

- Python with 2D

- JavaScript with 1D

- JavaScript with 2D

- Java with 1D

- Java with 2D

- C++ with 1D

- C++ with 2D

■ Playlists

#pythonprogramming #leetcode #algorithm #coding #programming #python #javascript #java #cplusplus
Рекомендации по теме
Комментарии
Автор

We can optimize space more if we set a pyramid with query_row + 1 instead of fixed 100.

CodingNinjaExAmazon
welcome to shbcf.ru