摘要:
Given a binary tree root and an integer target, delete all the leaf nodes with value target. Note that once you delete a leaf node with value target, 阅读全文
posted @ 2020-11-06 05:14
Sheanne
阅读(45)
评论(0)
推荐(0)
摘要:
Given a list of words, each word consists of English lowercase letters. Let's say word1 is a predecessor of word2 if and only if we can add exactly on 阅读全文
posted @ 2020-11-06 04:59
Sheanne
阅读(48)
评论(0)
推荐(0)
摘要:
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin 阅读全文
posted @ 2020-11-06 04:29
Sheanne
阅读(52)
评论(0)
推荐(0)
摘要:
We have n chips, where the position of the ith chip is position[i]. We need to move all the chips to the same position. In one step, we can change the 阅读全文
posted @ 2020-11-06 03:25
Sheanne
阅读(148)
评论(0)
推荐(0)
浙公网安备 33010602011771号