摘要:
题目描述用以下的一个类实现两个函数void addNum(int num) - Add a integer number from the data stream to the data structure.double findMedian() - Return the median of all... 阅读全文
摘要:
首先上题目Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the h... 阅读全文
摘要:
本博客介绍leetcode上的一道不难,但是比较经典的算法题。题目如下:Implement a basic calculator to evaluate a simple expression string.The expression string may contain open(and clo... 阅读全文