---
title: "Discussion on \"Number of People Aware of a Secret (LeetCode 2327) — From Recursion to DP\" | Hashnode"
description: "Discussion on \"Number of People Aware of a Secret (LeetCode 2327) — From Recursion to DP\". 📌 Problem Statement\nOn day 1, one person discovers a secret.\n\nEach person can start sharing the secret after delay days.\n\nEach person forgets the secret after forget days.\n\nOnce a person forgets, they cannot share anymore.\n\n\nWe need to calculate how..."
url: "https://hashnode.com/posts/number-of-people-aware-of-a-secret-leetcode-2327-from-recursion-to-dp/68bfd2c0ceffba3c6e57a66d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Number of People Aware of a Secret (LeetCode 2327) — From Recursion to DP](https://leetcodevirat.hashnode.dev/number-of-people-aware-of-a-secret-leetcode-2327-from-recursion-to-dp?utm_source=hashnode&utm_medium=feed)

📌 Problem Statement On day 1, one person discovers a secret. Each person can start sharing the secret after delay days. Each person forgets the secret after forget days. Once a person forgets, they cannot share anymore. We need to calculate how...

Sep 9, 2025 · 5 min read · leetcodevirat.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)

## Written by

[Virat Srivastava](https://hashnode.com/@virat-sr)

@virat-sr

  
[View profile](https://hashnode.com/@virat-sr)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
