994. Rotting Oranges 994. Rotting Oranges 題目的說明 題目有說明的有,腐爛的橘子會影響旁邊的好橘子,好橘子會爛掉,如果好橘子相連的好橘子有和爛橘子相連,過了一段時間後也會爛掉,如果有橘子沒有和任何的爛橘子相鄰就不會壞掉。
536. Construct Binary Tree from String 536. Construct Binary Tree from String 做這題之前可以先完成 606. Construct String
606. Construct String from Binary Tree 606. Construct String from Binary Tree # Definition for a binary
105. Construct Binary Tree from Preorder and Inorder Traversal 105. Construct Binary Tree from Preorder and Inorder Traversal 題目給出前序遍歷以及中序遍歷的順序,