leetcode
文章平均质量分 94
melody96313
这个作者很懒,什么都没留下…
展开
-
leetcode 376. Wiggle Subsequence
问题描述 A sequence of numbers is called awiggle sequenceif the differences between successive numbers strictly alternate between positive and negative. The first difference (if one exists) may be eith...原创 2019-03-14 21:23:28 · 100 阅读 · 0 评论 -
leetcode 120.Triangle
问题描述: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], ...原创 2019-03-14 21:29:53 · 88 阅读 · 0 评论 -
leetcode 72. Edit Distance
问题描述 Given two wordsword1andword2, find the minimum number of operations required to convertword1toword2. You have the following 3 operations permitted on a word: Insert a character Delete a...原创 2019-03-14 20:52:45 · 95 阅读 · 0 评论 -
leetcode 200 Number of Islands
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 adjacent lands horizontally or vertically. You may assume...原创 2019-04-25 18:54:57 · 385 阅读 · 0 评论 -
leetcode 312 Burst Balloons
问题描述: Givennballoons, indexed from0ton-1. Each balloon is painted with a number on it represented by arraynums. You are asked to burst all the balloons. If the you burst ballooniyou will get...原创 2019-04-24 23:01:07 · 113 阅读 · 0 评论