Leetcode 1990. Count the Number of Experiments
Given a list of experiments each described by a numeric value and a condition on their combined metric (e.g., sum, product, or probability threshold), count how many non‑empty subsets/contiguous sequences/ordered selections satisfy that condition. Expect to use sorting + two‑pointers or sliding window, prefix sums/DP and modular combinatorics to handle large N and return the answer modulo a large prime.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.