2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)C++3,724 forks (3,724 forks)batch import
Hacktoberfestadd codenew algorithm
Repository metrics
- Stars
- 13,462 stars (13,462 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
Details:
Solves #2288
Added in new folder code/dynamic_programming/no_consec_ones.
Contributor guide
- Research direction
- Implement the dynamic programming solution for counting binary strings without consecutive 1s. The recurrence is dp[i][0] = dp[i 1][0] + dp[i 1][1]; dp[i][1] = dp[i 1][0]. Add file to code/dynamic programming/no consec ones/.
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Prerequisites
- PythonDynamic Programming