leetle

Daily challenge for 2025-10-05

278. Non-decreasing Array

Given an array nums, return true if the array can become non-decreasing by modifying at most one element; otherwise return false.

Example:
Input: nums = [4,2,3]
Output: true

Run this challenge interactively in Python or JavaScript when the app loads.