最新 最热

JavaWeb——HTML表单标签详解(input、label、select、textarea)

表单,是用于采集用户输入数据的,用于和服务器进行交互。比如登录系统,使用的标签是form,可以定义一个范围,范围代表采集用户数据的范围,表单中的数据要想被提交,必须指定name属性。属性:...

2020-09-25
1

Array - 55. Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array.

2020-09-23
1

Array - 48. Rotate Image

You are given an n x n 2D matrix representing an image.

2020-09-23
1

Array - 56. Merge Intervals

Given a collection of intervals, merge all overlapping intervals.

2020-09-23
1

Array - 16. 3Sum Closest

Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integer...

2020-09-23
1

Array - 59. Spiral Matrix II

Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.

2020-09-23
1

Array - 42. Trapping Rain Water Hard

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.

2020-09-23
1

Dynamic Programming - 279. Perfect Squares

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n.

2020-09-23
1

Dynamic Programming - 322. Coin Change

You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make ...

2020-09-23
1

Dynamic Programming - 64. Minimum Path Sum

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.

2020-09-23
1