自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 353. Design Snake Game

353.Design Snake GameDesign aSnake gamethat is played on a device with screen size =widthxheight.Play the game onlineif you are not familiar with the game.The snake is initially positioned...

2019-03-03 22:00:19 243

原创 622. Design Circular Queue

622.Design Circular QueueDesign your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (First In First Out) pri...

2019-03-03 07:28:27 176

原创 641. Design Circular Deque

641.Design Circular DequeDesign your implementation of the circular double-ended queue (deque).Your implementation should support following operations:MyCircularDeque(k): Constructor, set the s...

2019-03-03 05:59:07 145

原创 346. Moving Average from Data Stream

346.Moving Average from Data StreamGiven a stream of integers and a window size, calculate the moving average of all integers in the sliding window.Example:MovingAverage m = new MovingAverage(...

2019-03-02 18:27:59 269

转载 933. Number of Recent Calls

933.Number of Recent CallsWrite a classRecentCounterto count recent requests.It has only one method:ping(int t), where t represents some time in milliseconds.Return the number ofpings that ...

2019-03-02 05:45:04 147

转载 Leetcode 分类顺序表

2019-03-01 02:16:57 841

原创 LeetCode 刷题

Design Questions:379. Design Phone DirectoryAlgorithms:Boyer-Moore MajorityVote Algorithm Kadane's algorithm

2019-02-28 18:28:51 111

原创 379. Design Phone Directory

379.Design Phone DirectoryDesign a Phone Directory which supports the following operations:get: Provide a number which is not assigned to anyone. check: Check if a number is available or not. r...

2019-02-28 16:02:02 162

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除