Categorygithub.com/szhou12/leetcode-goleetcode2302-Count-Subarrays-With-Score-Less-Than-K
package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

2302. Count Subarrays With Score Less Than K

Solution idea

Key

For any $i$, find all qualified subarrays ending at $i$.

【每日一题】LeetCode 2302. Count Subarrays With Score Less Than K

Time Complexity = $O(n\log n)$