![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 58
ludanwss0716
横蛮善变柔弱天真
展开
-
[leetcode][361]bomb enemy
ProblemGiven a 2D grid, each cell is either a wall ‘W’, an enemy ‘E’ or empty ‘0’ (the number zero), return the maximum enemies you can kill using one bomb. The bomb kills all the enemies in the same r原创 2017-12-25 23:15:25 · 266 阅读 · 0 评论 -
[leetcode][4]Median of Two Sorted Arrays
ProblemThere are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1: nums1 = [1,原创 2017-12-31 10:39:13 · 109 阅读 · 0 评论 -
[leetcode][1]two sum
ProblemGiven 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 exactly one solution, and you may not use the s原创 2017-12-26 10:57:46 · 98 阅读 · 0 评论 -
[leetcode][2]add two numbers
ProblemYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and re原创 2017-12-26 11:24:18 · 120 阅读 · 0 评论 -
[leetcode][3]Longest Substring Without Repeating Characters
ProblemGiven a string, find the length of the longest substring without repeating characters.Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “bbbbb”, the answer is “b”,原创 2017-12-30 15:55:31 · 115 阅读 · 0 评论