摘要: Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. Clarification What's the de 阅读全文
posted @ 2017-07-19 10:40 Review->Improve 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Given an unsorted array of integers, find the lengt 阅读全文
posted @ 2017-07-19 06:08 Review->Improve 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Implement a load balancer for web servers. It provide the following functionality: Add a new server to the cluster => add(server_id). Remove a bad ser 阅读全文
posted @ 2017-07-19 04:27 Review->Improve 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: Given a sorted integer array where the range of elements are in the inclusive range [lower, upper], return its missing ranges. Given a sorted integer 阅读全文
posted @ 2017-07-19 01:05 Review->Improve 阅读(516) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n 阅读全文
posted @ 2017-07-19 00:42 Review->Improve 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Given an integer array, find a subarray where the sum of numbers is in a given interval. Your code should return the number of possible answers. (The 阅读全文
posted @ 2017-07-19 00:16 Review->Improve 阅读(804) 评论(0) 推荐(0) 编辑