03 2022 档案

摘要:Design a max stack data structure that supports the stack operations and supports finding the stack's maximum element. Implement the MaxStack class: M 阅读全文
posted @ 2022-03-20 06:41 CNoodle 阅读(627) 评论(0) 推荐(0)
摘要:You are given an integer array nums. You want to maximize the number of points you get by performing the following operation any number of times: Pick 阅读全文
posted @ 2022-03-05 14:53 CNoodle 阅读(186) 评论(0) 推荐(0)
摘要:You have a 2-D grid of size m x n representing a box, and you have n balls. The box is open on the top and bottom sides. Each cell in the box has a di 阅读全文
posted @ 2022-03-01 11:24 CNoodle 阅读(463) 评论(0) 推荐(0)