TheAlgorithms-C-Plus-Plus/dynamic_programming
Swastika Gupta 6115bc2981
feat: Add House Robber algorithm (#1524)
* Create house_robber.cpp

* updating DIRECTORY.md

* Update dynamic_programming/house_robber.cpp

Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>

* clang-format and clang-tidy fixes for c00823e8

* Update house_robber.cpp

* clang-format and clang-tidy fixes for cdf701c2

* Update house_robber.cpp

* clang-format and clang-tidy fixes for 39c3719f

* Update dynamic_programming/house_robber.cpp

Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>

* clang-format and clang-tidy fixes for 126e3f21

* Update house_robber.cpp

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update house_robber.cpp

* clang-format and clang-tidy fixes for 474a5f0b

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update dynamic_programming/house_robber.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 203cce31

* Update house_robber.cpp

* Update house_robber.cpp

* Update house_robber.cpp

* clang-format and clang-tidy fixes for 6b0bea93

* Apply suggestions from code review

* Apply suggestions from code review

* clang-format and clang-tidy fixes for 913baf88

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-09 14:02:28 -05:00
..
0_1_knapsack.cpp feat: Add ncr mod p code (#1325) 2020-11-22 23:05:01 +05:30
abbreviation.cpp feat: add abbreviation.cpp: topic: Dynamic Programming (#1461) 2021-03-12 00:33:15 +05:30
armstrong_number.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
bellman_ford.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
catalan_numbers.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
coin_change_topdown.cpp feat: Add ncr mod p code (#1325) 2020-11-22 23:05:01 +05:30
coin_change.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
cut_rod.cpp added a new example to check correctness of the code 2020-10-31 11:53:40 +05:30
edit_distance.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
egg_dropping_puzzle.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
fibonacci_bottom_up.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
floyd_warshall.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
house_robber.cpp feat: Add House Robber algorithm (#1524) 2021-07-09 14:02:28 -05:00
kadane2.cpp [fix]: dynamic_programming/cut_rod.cpp does not compile (#1085) 2020-09-30 13:03:34 -05:00
kadane.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
longest_common_string.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
longest_common_subsequence.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
longest_increasing_subsequence_(nlogn).cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
longest_increasing_subsequence.cpp [feat/fix/docs]: Improve the dynamic_programming/longest_increasing_subsequence.cpp file (#1504) 2021-06-18 14:17:31 -05:00
longest_palindromic_subsequence.cpp feat: add longest palindromic subsequence algorithm (#1185) 2021-02-05 15:16:06 +05:30
matrix_chain_multiplication.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
minimum_edit_distance.cpp feat: Added Minimum Edit Distance Algorithm (#1472) 2021-04-12 16:04:13 +05:30
palindrome_partitioning.cpp feat: Add ncr mod p code (#1325) 2020-11-22 23:05:01 +05:30
searching_of_element_in_dynamic_array.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
shortest_common_supersequence.cpp feat: add shortest common super-sequence algorithm (#1030) 2020-08-17 09:38:14 -04:00
tree_height.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
word_break.cpp adding word break DP approach (#1278) 2020-10-16 15:54:42 -04:00