摘要: 题目如下: Design a stack which supports the following operations. Implement the CustomStack class: CustomStack(int maxSize) Initializes the object with ma 阅读全文
posted @ 2020-03-21 22:09 seyjs 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix of distinct numbers, return all lucky numbers in the matrix in any order. A lucky number is an element of the matrix such t 阅读全文
posted @ 2020-03-21 22:06 seyjs 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an undirected tree consisting of n vertices numbered from 1 to n. A frog starts jumping from the vertex 1. In one second, the frog jumps f 阅读全文
posted @ 2020-03-21 22:02 seyjs 阅读(384) 评论(0) 推荐(0) 编辑