摘要:
There is a box protected by a password. The password is n digits, where each letter can be one of the first k digits 0, 1, ..., k 1. You can keep inpu 阅读全文
posted @ 2018-10-31 11:46
bernieloveslife
阅读(202)
评论(0)
推荐(0)
摘要:
Given an n ary tree, return the preorder traversal of its nodes' values. For example, given a 3 ary tree: Return its preorder traversal as: [1,3,5,6,2 阅读全文
posted @ 2018-10-31 11:46
bernieloveslife
阅读(68)
评论(0)
推荐(0)
摘要:
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: The given inte 阅读全文
posted @ 2018-10-31 11:46
bernieloveslife
阅读(101)
评论(0)
推荐(0)
摘要:
You have a list of words and a pattern, and you want to know which words in words matches the pattern. A word matches the pattern if there exists a pe 阅读全文
posted @ 2018-10-31 11:46
bernieloveslife
阅读(87)
评论(0)
推荐(0)
摘要:
Given an array A of non negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever A[i] 阅读全文
posted @ 2018-10-31 11:46
bernieloveslife
阅读(158)
评论(0)
推荐(0)

浙公网安备 33010602011771号