xinyu04

导航

2022年5月1日 #

LeetCode 62 Unique Paths DP

摘要: There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-rig 阅读全文

posted @ 2022-05-01 22:37 Blackzxy 阅读(51) 评论(0) 推荐(0) 编辑

LeetCode 179 Largest Number 贪心

摘要: Given a list of non-negative integers nums, arrange them such that they form the largest number and return it. Since the result may be very large, so 阅读全文

posted @ 2022-05-01 22:28 Blackzxy 阅读(15) 评论(0) 推荐(0) 编辑

LeetCode 55 Jump Game 贪心

摘要: You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum ju 阅读全文

posted @ 2022-05-01 03:01 Blackzxy 阅读(15) 评论(0) 推荐(0) 编辑

LeetCode 45 Jump Game II 区间DP

摘要: Given an array of non-negative integers nums, you are initially positioned at the first index of the array. Each element in the array represents your 阅读全文

posted @ 2022-05-01 02:36 Blackzxy 阅读(19) 评论(0) 推荐(0) 编辑