上一页 1 2 3 4 5 6 7 ··· 50 下一页
摘要: Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these functions. Each funct 阅读全文
posted @ 2018-10-26 07:44 轻风舞动 阅读(583) 评论(0) 推荐(0) 编辑
摘要: There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up (u), down (d), left (l) or right (r), but it 阅读全文
posted @ 2018-10-26 04:47 轻风舞动 阅读(1928) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2018-10-26 04:34 轻风舞动 阅读(2590) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2018-10-26 04:26 轻风舞动 阅读(3011) 评论(0) 推荐(0) 编辑
摘要: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer nand is grea 阅读全文
posted @ 2018-10-26 03:41 轻风舞动 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every element. The 阅读全文
posted @ 2018-10-25 09:44 轻风舞动 阅读(535) 评论(0) 推荐(0) 编辑
摘要: You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' 阅读全文
posted @ 2018-10-25 09:04 轻风舞动 阅读(545) 评论(0) 推荐(0) 编辑
摘要: You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rota 阅读全文
posted @ 2018-10-25 08:10 轻风舞动 阅读(651) 评论(0) 推荐(0) 编辑
摘要: You can keep inputting the password, the password will automatically be matched against the last n digits entered. For example, assuming the password 阅读全文
posted @ 2018-10-25 07:28 轻风舞动 阅读(851) 评论(0) 推荐(0) 编辑
摘要: International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a"maps to ".-", "b" maps 阅读全文
posted @ 2018-10-25 05:32 轻风舞动 阅读(532) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 50 下一页