Author name: malism

LeetCode

665. 非递减数列

给你一个长度为 n 的整数数组 nums ,请你判断在 最多 改变 1 个元素的情况下,该数组能否变成一个非递减数列。 我们是这样定义一个非递减数列的: 对于数组中任意的 i (0 <= i <= n-2),总满足 nums[i] <= nums[i + 1]。 示例 1: 输入: nums = [4,2,3] 输出: true 解释: 你可以通过把第一个

project

Plan 2024

1. Learn Android Framework binder 2. Learn Android Compose Design How’s compose working? 3. app to store game reader 4.

project

Welcom!

Welcome to malism. This is my persional site. Recoding detail, Sharing life !

Scroll to Top