# class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None # # # @param root TreeNode类 # @return int整型 #层序遍历 class Solution: def run(self , root ): # write code here if not root: return 0 count = 0 cur = [root] nxt = [] while True: count += 1 for node in cur: if...