摘要: We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron 阅读全文
posted @ 2016-07-18 15:03 LiBlog 阅读(116) 评论(0) 推荐(0) 编辑
摘要: You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element from th 阅读全文
posted @ 2016-07-18 14:48 LiBlog 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Design a logger system that receive stream of messages along with its timestamps, each message should be printed if and only if it is not printed in t 阅读全文
posted @ 2016-07-18 14:44 LiBlog 阅读(208) 评论(0) 推荐(0) 编辑
摘要: There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of words from the 阅读全文
posted @ 2016-07-18 14:18 LiBlog 阅读(134) 评论(0) 推荐(0) 编辑