摘要: Description: Given the root of a binary search tree, and an integer k, return the kth (1-indexed) smallest element in the tree. Link: 230. Kth Smalles 阅读全文
posted @ 2021-04-12 22:20 summer_mimi 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Description: A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find a peak element, and return it 阅读全文
posted @ 2021-04-12 08:43 summer_mimi 阅读(42) 评论(0) 推荐(0) 编辑