feat: Add pythontutor blocks to the rest of the chapters (#1030)

* Fix Python code

* Add the pythontutor blocks of the chapter tree, heap, graph, searching, sorting, divide and conquer, dynamic programming and greedy.
Improve the pythontutor blocks of the chapter array and linkedlist and backtracking.
Add the tutorial of pythontutor in how-to-read section.

* Reduce the image's file size.
This commit is contained in:
Yudong Jin
2024-01-07 23:49:26 +08:00
committed by GitHub
parent ddd375af20
commit ee485372fe
56 changed files with 455 additions and 16 deletions

View File

@ -48,7 +48,6 @@ def coin_change_ii_dp_comp(coins: list[int], amt: int) -> int:
if __name__ == "__main__":
coins = [1, 2, 5]
amt = 5
n = len(coins)
# 动态规划
res = coin_change_ii_dp(coins, amt)