上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 54 下一页
摘要: There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll 阅读全文
posted @ 2019-08-13 12:34 北叶青藤 阅读(152) 评论(0) 推荐(0)
摘要: Your task is to design the basic function of Excel and implement the function of sum formula. Specifically, you need to implement the following functi 阅读全文
posted @ 2019-08-12 09:14 北叶青藤 阅读(338) 评论(0) 推荐(0)
摘要: Design and implement a data structure for a compressed string iterator. It should support the following operations: next and hasNext. The given compre 阅读全文
posted @ 2019-08-12 05:14 北叶青藤 阅读(182) 评论(0) 推荐(0)
摘要: Design an in-memory file system to simulate the following functions: ls: Given a path in string format. If it is a file path, return a list that only 阅读全文
posted @ 2019-08-12 02:01 北叶青藤 阅读(385) 评论(0) 推荐(0)
摘要: Design a HashSet without using any built-in hash table libraries. To be specific, your design should include these functions: add(value): Insert a val 阅读全文
posted @ 2019-08-11 10:20 北叶青藤 阅读(180) 评论(0) 推荐(0)
摘要: Design your implementation of the circular double-ended queue (deque). Your implementation should support following operations: MyCircularDeque(k): Co 阅读全文
posted @ 2019-08-11 09:46 北叶青藤 阅读(224) 评论(0) 推荐(0)
摘要: Design your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (F 阅读全文
posted @ 2019-08-11 09:02 北叶青藤 阅读(225) 评论(0) 推荐(0)
摘要: Design your implementation of the linked list. You can choose to use the singly linked list or the doubly linked list. A node in a singly linked list 阅读全文
posted @ 2019-08-11 02:58 北叶青藤 阅读(262) 评论(0) 推荐(0)
摘要: Design a Phone Directory which supports the following operations: get: Provide a number which is not assigned to anyone.check: Check if a number is av 阅读全文
posted @ 2019-08-11 02:21 北叶青藤 阅读(206) 评论(0) 推荐(0)
摘要: Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed min 阅读全文
posted @ 2019-08-08 14:41 北叶青藤 阅读(703) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 54 下一页