[LeetCode] 2415. Reverse Odd Levels of Binary Tree

Given the root of a perfect binary tree, reverse the node values at each odd level of the tree. For example, suppose the node values at level 3 are [2
posted @ 2023-12-17 05:57  CNoodle  阅读(8)  评论(0编辑  收藏  举报