上一页 1 2 3 4 5 6 7 8 9 10 ··· 28 下一页
摘要: Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak 阅读全文
posted @ 2018-01-20 03:38 逸朵 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array, two integers k and x, find the k closest elements to x in the array. The result should also be sorted in ascending order. If the 阅读全文
posted @ 2018-01-20 02:24 逸朵 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Amazon Simple Queue Service (Amazon SQS) is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or micro 阅读全文
posted @ 2018-01-18 13:14 逸朵 阅读(674) 评论(0) 推荐(0) 编辑
摘要: Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of dup 阅读全文
posted @ 2018-01-17 12:00 逸朵 阅读(653) 评论(0) 推荐(0) 编辑
摘要: Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b 阅读全文
posted @ 2018-01-16 11:55 逸朵 阅读(139) 评论(0) 推荐(0) 编辑
摘要: https://github.com/alex/what-happens-when 阅读全文
posted @ 2018-01-16 01:03 逸朵 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Useful system design documents/questions and answers... https://github.com/FreemanZhang/system-design https://github.com/checkcheckzz/system-design-in 阅读全文
posted @ 2018-01-15 06:34 逸朵 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Implement regular expression matching with support for '.' and '*'. 阅读全文
posted @ 2018-01-08 12:48 逸朵 阅读(131) 评论(0) 推荐(0) 编辑
摘要: You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour: 阅读全文
posted @ 2018-01-08 12:32 逸朵 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the 阅读全文
posted @ 2018-01-08 10:07 逸朵 阅读(205) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 28 下一页