11 2016 档案

摘要:You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve 阅读全文
posted @ 2016-11-21 00:21 JavaNerd 阅读(491) 评论(0) 推荐(0) 编辑
摘要:Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping. Note: Exam 阅读全文
posted @ 2016-11-17 20:30 JavaNerd 阅读(241) 评论(0) 推荐(0) 编辑
摘要:Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. Note: Example 1: Examp 阅读全文
posted @ 2016-11-17 12:33 JavaNerd 阅读(199) 评论(0) 推荐(0) 编辑
摘要:There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the hor 阅读全文
posted @ 2016-11-16 10:36 JavaNerd 阅读(277) 评论(0) 推荐(0) 编辑
摘要:Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than or equal to the end point o 阅读全文
posted @ 2016-11-14 10:55 JavaNerd 阅读(397) 评论(0) 推荐(0) 编辑
摘要:A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the 阅读全文
posted @ 2016-11-13 15:35 JavaNerd 阅读(378) 评论(0) 推荐(0) 编辑
摘要:Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between iand j equals 阅读全文
posted @ 2016-11-13 10:10 JavaNerd 阅读(973) 评论(0) 推荐(0) 编辑