Y2020W35

英语的学习

acquisition
n. 收购 并购 购买 添置
If a company or business person makes an acquisition, they buy another company or part of a company.

前缀:ac- = to 去、往
词根:quis = seek, ask 寻求,问
后缀:ition = 名词, 表:行为、过程

ankle
n. 脚踝
Your ankle is the joint where your foot joins your leg.

前缀:ank = to bend 弯、钩
后缀:-le = 名词, 表示:小~

carbohydrate
n. 碳水化合物
Carbohydrates are substances, found in certain kinds of food, that provide you with energy…

词根:carbo = carbon 碳
词根:hydr = water 水
后缀:-ate = 名词或形容词

chronic
adj. 慢性的,长期的
chronic illness or disability lasts for a very long time.

词根:chron = time 时间
后缀:-ic = 形容词

这里联想到cron 表达式

dedicate
v.献身;投身;致力
If you say that someone has dedicated themselves to something, you approve of the fact that they have decided to give a lot of time and effort to it because they think that it is important.

前缀:de- = down 往下
词根:dic = proclaim 宣称
后缀:-ate  动词:做、造成

加入托词魔鬼训练 mini 营,每天拼写 5 个词,已经第 27 天了。


代码的学习

做了一道关于树的练习题,一开始连测试用例都没看明白。
https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal/

看到这个测试用例,懵逼了,这个数组怎么表示的是这样一颗 N 叉树呢?
接着有被这篇示例误导了:
https://support.leetcode-cn.com/hc/kb/article/1194353/

这篇示例讲的是二叉树,而测试用例是N叉树。

后来,改了几个测试用例,才明白,原来就是对N叉树简单的水平遍历,每层用 null 分开。
蠢啊。
记录一下。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值