摘要:
题目: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. 我们定义Perfect Number是一个正整数,它 阅读全文
摘要:
题目: Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the 阅读全文
摘要:
题目: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. 设计一个支持push,pop,top和在恒定时间内检索最小元素的堆栈。 push(x) -- P 阅读全文