Skip to content

Latest commit

 

History

History
 
 

116. Populating Next Right Pointers in Each Node II

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

这道题不是什么非常棒的解法, 今天时间有限, 只好简略修改 [10. Populating Next Right Pointers in Each Node](../10. Populating Next Right Pointers in Each Node) 的解决方案.

基本上是对各种意外情况做了处理, 感觉是打补丁式的解法. 思维太懒了...

如有更好的思路, 或者可以帮我简化的地方, 希望告知.