Leetcode

Sunday, March 10, 2019

755. Pour Water

›
755. Pour Water Medium 96 164 Favorite Share We are given an elevation map,  heights[i]  representing the height of the terrain a...

Airbnb

›
airbnb_2017_fall ------------------------- 倒水 往一个int array 代表海拔的格子里倒水,打印出倒水后的 int[] 海拔, int 水数量, int 倒得位置。 Example: int[] 海拔 {5,...
Sunday, March 3, 2019

Uber 面经

›
https://www.1point3acres.com/bbs/thread-490045-1-1.html 第一轮: 面经题, 给起始和终点时间,按月输出中间的时间段,比如给定范围 [2019-01-10, 2019-03-15], 输出 -> [2019-01-...

460. LFU Cache

›
460. LFU Cache Hard 578 66 Favorite Share Design and implement a data structure for  Least Frequently Used (LFU)  cache. It shoul...
Thursday, February 28, 2019

759. Employee Free Time

›
759. Employee Free Time Hard 173 11 Favorite Share We are given a list  schedule  of employees, which represents the working time...
Wednesday, February 27, 2019

829. Consecutive Numbers Sum

›
829. Consecutive Numbers Sum Hard 154 184 Favorite Share Given a positive integer  N , how many ways can we write it as a sum of ...

542. 01 Matrix

›
542. 01 Matrix Medium 568 76 Favorite Share Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell....
›
Home
View web version

About Me

Shibai
View my complete profile
Powered by Blogger.