Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friends Pairing Problem using Dynamic Programming #167

Closed
2 tasks done
abhisheks008 opened this issue Oct 1, 2021 · 0 comments · Fixed by #169
Closed
2 tasks done

Friends Pairing Problem using Dynamic Programming #167

abhisheks008 opened this issue Oct 1, 2021 · 0 comments · Fixed by #169
Assignees
Labels
Assigned Issue is assigned HACKTOBERFEST This issue is applicable for Hacktoberfest 2022

Comments

@abhisheks008
Copy link
Contributor

🔴 Title : Friends Pairing Problem using Dynamic Programming
🔴 Language used : Python 3
🔴 Directory : Dynamic Programming
🔴 Name : Abhishek Sharma
🔴 Contribution type :

  • Hacktoberfest 2021
  • Contributor

🔴 Description :
Given n friends, each one can remain single or can be paired up with some other friend. Each friend can be paired only once. Find out the total number of ways in which friends can remain single or can be paired up.

Examples:

Input  : n = 3
Output : 4

🔴 Method : Dynamic Programming

@prathimacode-hub Please assign me this issue, I'll be contributing as a Hacktoberfest 2021 participant.

@prathimacode-hub prathimacode-hub added Assigned Issue is assigned HACKTOBERFEST This issue is applicable for Hacktoberfest 2022 labels Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Assigned Issue is assigned HACKTOBERFEST This issue is applicable for Hacktoberfest 2022
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants