Leetcode - 617. Merge Two Binary Trees
此篇文章為我的解題紀錄,程式碼或許並不是很完善
Leetcode - 617. Merge Two Binary Trees
解題思路
使用recusive來將每個子節點相加到第一個樹,若是第一個樹在該位置無節點則創建新的點
我滴程式碼
1 | /** |

Invitation
Isadora
20010718
created:05/02/2021
Welcome to My Blog
Whether u have any question or not, feel free to send messages to me <3
Welcome to Isadora's blog, wish u a nice day.
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment
GitalkFacebook Comments