摘要:
https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op 阅读全文
摘要:
A binary heap is a heap data structure created using a binary tree. binary tree has two rules - Implementation: Use array to store the data. Star 阅读全文
摘要:
https://leetcode.com/problems/integer-break/ Given a positive integer n, break it into the sum of at least two positive integers and maximize the prod 阅读全文