摘要:
题目描述 Design a data structure that supports all following operations in average O(1) time. Note: Duplicate elements are allowed. 题目大意 设计一个数据结构,实现以下三种操作 阅读全文
posted @ 2019-07-29 15:04
你好哇傻小妞
阅读(88)
评论(0)
推荐(0)
摘要:
题目描述 Design a data structure that supports all following operations in average O(1) time. 题目大意 设计一个数据结构,实现以下三种操作: 1. 插入:如果插入一个已存在的数字则返回false,否则插入该数字返回 阅读全文
posted @ 2019-07-29 11:22
你好哇傻小妞
阅读(100)
评论(0)
推荐(0)
摘要:
题目描述 Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note that it 阅读全文
posted @ 2019-07-29 11:05
你好哇傻小妞
阅读(190)
评论(0)
推荐(0)

浙公网安备 33010602011771号