摘要: Two players play a turn based game on a binary tree. We are given the root of this binary tree, and the number of nodes n in the tree. n is odd, and e 阅读全文
posted @ 2021-06-21 13:30 Grandyang 阅读(765) 评论(0) 推荐(0) 编辑
摘要: Given an array nums of integers, a move consists of choosing any element and decreasing it by 1. An array A is a zigzag array if either: Every even-in 阅读全文
posted @ 2021-06-21 04:07 Grandyang 阅读(305) 评论(0) 推荐(0) 编辑
Fork me on GitHub