摘要:
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha 阅读全文
posted @ 2018-01-29 13:51
逸朵
阅读(109)
评论(0)
推荐(0)
摘要:
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), determine if a person could attend all mee 阅读全文
posted @ 2018-01-29 13:17
逸朵
阅读(115)
评论(0)
推荐(0)
摘要:
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen 阅读全文
posted @ 2018-01-29 13:06
逸朵
阅读(101)
评论(0)
推荐(0)
摘要:
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2018-01-29 12:54
逸朵
阅读(92)
评论(0)
推荐(0)
摘要:
Given a list accounts, each element accounts[i] is a list of strings, where the first element accounts[i][0] is a name, and the rest of the elements a 阅读全文
posted @ 2018-01-29 08:25
逸朵
阅读(693)
评论(0)
推荐(0)
摘要:
You are given a m x n 2D grid initialized with these three possible values. Fill each empty room with the distance to its nearest gate. If it is impos 阅读全文
posted @ 2018-01-29 06:27
逸朵
阅读(143)
评论(0)
推荐(0)
摘要:
You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose o 阅读全文
posted @ 2018-01-29 06:10
逸朵
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号