type
Post
status
Published
date
May 24, 2023
slug
cs-61a-10
summary
Study Python Tree Structure in CS 61A.
tags
CS
CS61A
category
学习记录
icon
password
Property
Jul 13, 2023 01:59 PM

第九章跳过
YouTube上找不到对应的章节,貌似是一个短时间回顾
Sequence Aggregation



Answer
Trees

Tree Abstraction
树的两种抽象含义

Tree Abstraction Implementation

Answer
Tree Processing


Count Nodes in a Tree

Collect the Leaves

Print Tree

Creating Trees



Output
Fib Tree

Output
Full Code
- 作者:Kitety
- 链接:https://www.kitety.com/article/cs-61a-10
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章

.png?table=block&id=50996c15-e05e-4a84-bf3e-fc1a8fcd4bfa&t=50996c15-e05e-4a84-bf3e-fc1a8fcd4bfa&width=1080&cache=v2)

.png?table=block&id=fa81f9ab-c0da-4f4e-a935-0567380c36d0&t=fa81f9ab-c0da-4f4e-a935-0567380c36d0&width=1080&cache=v2)
.png?table=block&id=55df38cd-a361-41ee-a75d-c17615e78d6b&t=55df38cd-a361-41ee-a75d-c17615e78d6b&width=1080&cache=v2)
_(1).jpg?table=block&id=a716c7ee-7105-4a3f-8133-a15129086419&t=a716c7ee-7105-4a3f-8133-a15129086419&width=1080&cache=v2)
.jpg?table=block&id=2e9784d9-1d6e-44fc-9106-f0c576ddcb8f&t=2e9784d9-1d6e-44fc-9106-f0c576ddcb8f&width=1080&cache=v2)

.png?table=block&id=c0772cdb-ee08-49f4-b2f3-c804586bb769&t=c0772cdb-ee08-49f4-b2f3-c804586bb769&width=1080&cache=v2)

.png?table=block&id=b43ea4ae-a57d-4962-80ba-12280979702b&t=b43ea4ae-a57d-4962-80ba-12280979702b&width=1080&cache=v2)
