摘要: Design a HashMap without using any built-in hash table libraries. To be specific, your design should include these functions: put(key, value) : Insert 阅读全文
posted @ 2020-04-15 21:32 xuan_abc 阅读(122) 评论(0) 推荐(0)
摘要: Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, and ri 阅读全文
posted @ 2020-04-15 20:30 xuan_abc 阅读(132) 评论(0) 推荐(0)
摘要: There are 8 prison cells in a row, and each cell is either occupied or vacant. Each day, whether the cell is occupied or vacant changes according to t 阅读全文
posted @ 2020-04-15 04:33 xuan_abc 阅读(193) 评论(0) 推荐(0)