353. 贪吃蛇 https://leetcode.cn/problems/design-snake-game
353. Design Snake Game https://leetcode.com/problems/design-snake-game
729. 我的日程安排表 I https://leetcode.cn/problems/my-calendar-i
729. My Calendar I https://leetcode.com/problems/my-calendar-i
950. 按递增顺序显示卡牌 https://leetcode.cn/problems/reveal-cards-in-increasing-order
950. Reveal Cards In Increasing Order https://leetcode.com/problems/reveal-cards-in-increasing-order
379. 电话目录管理系统 https://leetcode.cn/problems/design-phone-directory
379. Design Phone Directory https://leetcode.com/problems/design-phone-directory
1700. 无法吃午餐的学生数量 https://leetcode.cn/problems/number-of-students-unable-to-eat-lunch
1700. Number of Students Unable to Eat Lunch https://leetcode.com/problems/number-of-students-unable-to-eat-lunch
155. 最小栈 https://leetcode.cn/problems/min-stack
155. Min Stack https://leetcode.com/problems/min-stack
1670. 设计前中后队列 https://leetcode.cn/problems/design-front-middle-back-queue
1670. Design Front Middle Back Queue https://leetcode.com/problems/design-front-middle-back-queue
895. 最大频率栈 https://leetcode.cn/problems/maximum-frequency-stack
895. Maximum Frequency Stack https://leetcode.com/problems/maximum-frequency-stack
284. 窥探迭代器 https://leetcode.cn/problems/peeking-iterator
284. Peeking Iterator https://leetcode.com/problems/peeking-iterator
251. 展开二维向量 https://leetcode.cn/problems/flatten-2d-vector
251. Flatten 2D Vector https://leetcode.com/problems/flatten-2d-vector
281. 锯齿迭代器 https://leetcode.cn/problems/zigzag-iterator
281. Zigzag Iterator https://leetcode.com/problems/zigzag-iterator
设计类题目都是让你把基本数据结构进行组合,去解决某些具体场景中的问题。我们先来看几道比较简单但比较有意思的题目吧。
loading...