摘要: Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it exist 阅读全文
posted @ 2021-06-03 12:54 CNoodle 阅读(137) 评论(0) 推荐(0)
摘要: Given an array of integers arr, sort the array by performing a series of pancake flips. In one pancake flip we do the following steps: Choose an integ 阅读全文
posted @ 2021-06-03 00:33 CNoodle 阅读(90) 评论(0) 推荐(0)