摘要:
题目如下: Design a stack which supports the following operations. Implement the CustomStack class: CustomStack(int maxSize) Initializes the object with ma 阅读全文
摘要:
题目如下: 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 阅读全文
摘要:
题目如下: 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 阅读全文