摘要:
题目: In a row of seats, 1 represents a person sitting in that seat, and 0 represents that the seat is empty. 在一排座位中,1表示坐在该座位上的人,0表示座位是空的。 There is at l 阅读全文
摘要:
题目: Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. 给定具有重复项的二叉搜索树(BST) 阅读全文
摘要:
题目: Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output 阅读全文