英語的學習
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. 慢性的筒捺,長期的
A chronic illness or disability lasts for a very long time.
詞根:chron = time 時間
后綴:-ic = 形容詞
這里聯(lián)想到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 個詞,已經(jīng)第 27 天了贴妻。
代碼的學習
做了一道關于樹的練習題切油,一開始連測試用例都沒看明白。
https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal/
看到這個測試用例名惩,懵逼了澎胡,這個數(shù)組怎么表示的是這樣一顆二叉樹呢?
接著有被這篇示例誤導了:
https://support.leetcode-cn.com/hc/kb/article/1194353/
這篇示例講的是二叉樹娩鹉,而測試用例是N叉樹攻谁。
后來,改了幾個測試用例弯予,才明白戚宦,原來就是對N叉樹簡單的水平遍歷,每層用 null 分開锈嫩。
蠢啊受楼。
記錄一下。