摘要:
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
轻风舞动
阅读(550)
评论(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
轻风舞动
阅读(552)
评论(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
轻风舞动
阅读(670)
评论(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
轻风舞动
阅读(912)
评论(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
轻风舞动
阅读(560)
评论(0)
推荐(0)
摘要:
In a given integer array A, we must move every element of A to either list B or list C. (B and C initially start empty.) Return true if and only if af 阅读全文
posted @ 2018-10-25 05:09
轻风舞动
阅读(996)
评论(0)
推荐(0)
摘要:
In a directed graph, we start at some node and every turn, walk along a directed edge of the graph. If we reach a node that is terminal (that is, it h 阅读全文
posted @ 2018-10-25 02:23
轻风舞动
阅读(507)
评论(0)
推荐(0)

浙公网安备 33010602011771号