|
Download benchmarks/Algorithms/longest_nondecreasing_subsequence/problem.md from PV-SJTU/PV-Bench: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/longest_nondecreasing_subsequence/problem.md
- Command line
-
hf download hf://datasets/PV-SJTU/PV-Bench/benchmarks/Algorithms/longest_nondecreasing_subsequence/problem.md
-
curl -L -o problem.md https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/longest_nondecreasing_subsequence/problem.md
466 Bytes
Longest Nondecreasing Subsequence
Description
Find the maximum length of a subsequence whose values are nondecreasing.
Input
The verification-case input consists of an integer array nums, its length, and a writable tails buffer.
Output
The function produces the length of the longest nondecreasing subsequence.
Constraints
- $0 \le numsSize \le 100000$.
Source
Classical algorithmic problem reconstructed from the verified C artifact.