摘要: Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into sets of k consecutive numbersReturn Tru 阅读全文
posted @ 2020-09-01 05:13 CNoodle 阅读(366) 评论(0) 推荐(0)
摘要: You are given the root of a binary search tree (BST), where exactly two nodes of the tree were swapped by mistake. Recover the tree without changing i 阅读全文
posted @ 2020-09-01 04:38 CNoodle 阅读(461) 评论(0) 推荐(0)