摘要:
1.人们如何做出决策 how people make decisions 人们面临得失交换(权衡取舍)people face tradeoffs 某物的成本是为此所放弃的东西 the cost of something is what you give up to get it 理性人思考边际量 r 阅读全文
摘要:
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov 阅读全文
摘要:
380. Insert Delete GetRandom O(1) Medium 126395FavoriteShare 380. Insert Delete GetRandom O(1) Medium 126395FavoriteShare Medium Design a data structu 阅读全文
摘要:
Given a collection of intervals, merge all overlapping intervals. Example 1: Example 2: NOTE: input types have been changed on April 15, 2019. Please 阅读全文
摘要:
In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (wi 阅读全文
摘要:
Implement a trie with insert, search, and startsWith methods. Example: Note: You may assume that all inputs are consist of lowercase letters a-z. All 阅读全文