Number of People Aware of a Secret
Explore how to determine the number of people aware of a secret after a given number of days using dynamic programming. Understand the impact of sharing delays and forgetting periods, and implement efficient solutions in C++ to handle large results with modular arithmetic.
We'll cover the following...
We'll cover the following...
Statement
On day