https://hackershare.dev/bookmarks/872995
日新刷题 - 543. 二叉树的直径