Commit Graph

1509 Commits

Author SHA1 Message Date
Gpamangkp
651c269317
Modified the code as per the suggestions 2020-10-21 11:04:34 +05:30
Neha Hasija
a19da79545
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:41:16 +05:30
github-actions
1e6c2d5aa0 clang-format and clang-tidy fixes for 45dc7176 2020-10-21 05:10:05 +00:00
Neha Hasija
45dc717621
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:38:02 +05:30
Neha Hasija
7672e3998c
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:37:51 +05:30
Neha Hasija
676db2e57b
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:37:32 +05:30
gpamangkp
b5cbf0e84a Modified the source for wider range of inputs
1. Replaced the namespace with a generic class Graph
2. Created add edge function to account for both directional and bidirectional graph
3. test case to include string nodes also
2020-10-21 10:25:43 +05:30
chestamittal
b1e2d1ed8e Update math/lcm_sum.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-20 15:14:41 +05:30
chestamittal
e466714e27
Update math/lcm_sum.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-20 14:19:15 +05:30
x0rld
234a29939a
fix: remove using namespace std (#1264)
Remove `using namespace std;` in greedy_algorithms/kruskals_minimum_spanning_tree.cpp

* remove using namespace std

* change static C array to vector

* change vector to array and remove global variable
2020-10-19 16:40:03 -05:00
github-actions
ed033c38b3 updating DIRECTORY.md 2020-10-19 21:39:00 +00:00
chestamittal
c7912e7b1b Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:07:45 +05:30
chestamittal
1ebb42185f
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:03:03 +05:30
chestamittal
c89a0e3bf0
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:50 +05:30
chestamittal
1c7fe26285
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:41 +05:30
chestamittal
0978680880
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:32 +05:30
chestamittal
2db80b5066
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:21 +05:30
chestamittal
403f44d924
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:11 +05:30
Deep Raval
7f97119f8a
feat: Added Morse Code (#1322)
* Added Morse Code

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 7ff8c973

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

* Update ciphers/morse_code.cpp

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 16:25:28 -05:00
chestamittal
6dc89cc441 Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:43:59 +05:30
chestamittal
261960cfb0
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:58 +05:30
chestamittal
1e1d11d03e
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:35 +05:30
chestamittal
d817968d1a
Update math/lcm_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:23 +05:30
David Leal
2c13a7a376
[fix/docs]: Improve backtracking/n_queens_all_solution_optimised.cpp (#1041)
* updating DIRECTORY.md

* [fix/docs]: Improve backtracking/n_queens_...

...all_solution_optimised.cpp

* fix: Remove function-like macros

* clang-format and clang-tidy fixes for 689b788c

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-19 14:59:20 -05:00
chestamittal
2854a463e1 add lcm_sum.cpp 2020-10-20 01:04:17 +05:30
David Leal
7c64998d42
[fix/docs]: Improve CONTRIBUTING.md (#1300)
* [fix/docs]: Improve CONTRIBUTING.md

* fix: Add suggested changes
2020-10-19 08:34:13 -04:00
Neha Hasija
fe538baac4
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:52:20 +05:30
github-actions
a6b57f8896 clang-format and clang-tidy fixes for db3f6944 2020-10-18 20:14:12 +00:00
github-actions
581715db04 updating DIRECTORY.md 2020-10-18 20:13:56 +00:00
Neha Hasija
db3f694490
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:47 +05:30
Neha Hasija
f03910abdc
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:38 +05:30
Neha Hasija
579a290acb
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:31 +05:30
Deep Raval
981f781d09
docs: Imporoved Documentation in neural_network.cpp (#1331) 2020-10-18 14:20:12 -05:00
Pardeep Bhatt
3206660bcd
added documentation in dynamic_programming/0_1_knapsack.cpp (#1207)
* added docs

* algorithm added in comments

* Update dynamic_programming/0_1_knapsack.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update dynamic_programming/0_1_knapsack.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update dynamic_programming/0_1_knapsack.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update dynamic_programming/0_1_knapsack.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* updated template parameter

* Update dynamic_programming/0_1_knapsack.cpp

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

* Update dynamic_programming/0_1_knapsack.cpp

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

* Update dynamic_programming/0_1_knapsack.cpp

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

* Update dynamic_programming/0_1_knapsack.cpp

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

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-18 13:23:56 -05:00
Neha Hasija
e3f6382219
Create magic_number.cpp
This Pull Request is for HacktoberFest 2020
2020-10-17 19:31:30 +05:30
Krishna Vedala
79b98cc905
feat: guidelines for reviewers (#1302)
* Create REVIEWER_CODE.md

* added heading
2020-10-16 16:18:38 -04:00
divyansh12323
5731bcd6fc
feat: Add Pancake Sort algorithm (#1189)
* Create pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* Update pancake_sort.cpp

* updating DIRECTORY.md

* Update pancake_sort.cpp

* Update pancake_sort.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-16 15:06:21 -05:00
Akshay Anand
34a6faf401
adding word break DP approach (#1278)
* adding word break DP approach

* fixing formatting

* fixing linting issues

* adding documentation and other enhancements

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 061c21ae

* docs: fixed documentation

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* Update dynamic_programming/word_break.cpp

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

* clang-format and clang-tidy fixes for d8ab6b02

* Update dynamic_programming/word_break.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* clang-format and clang-tidy fixes for 05d7ca14

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 15:54:42 -04:00
Arpan Mukherjee
a55e362ee1
Added Sparse Table for range query (#996)
* Added Sparse Table for range query

* Fixed Lint Warnings

* Fixed comments and Lint warnings

* Fixed comments

* Fixed comments and Lint warnings

* Fixed comments and Lint warnings

* Fixed variable reference Lint warnings

* Added documentation for functions parameters and return statements

* updating DIRECTORY.md

* Added documentation

* Applied namespace range_queries

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

* Updated wikipedia documentation link

* Resolved comments

* Fixed typo

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

* Resolved comments

* Added tests

* Cleaned up debugging statements

* Resolved comments

* Resolved Comments

* Update sparse_table.cpp

* Resolved comments

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Fixed comments

* Update sparse_table.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 12:38:00 -04:00
David Leal
95650899fe
[fix/docs]: Improve backtracking/rat_maze.cpp (#1084)
* [fix/docs]: Improve backtracking/rat_maze.cpp

* test: Added tests

* test: Move tests to a separate test function
2020-10-16 09:07:20 -04:00
Krishna Pal Deora
06b6714b0e
Hopcroft–Karp algorithm implementation (#1087)
* Hopcroft–Karp algorithm implementation

The Hopcroft–Karp algorithm is an algorithm that takes as input a bipartite graph and produces as output a maximum cardinality matching.

* Update hopcroft_karp.cpp

* fix : fixed the issues

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update hopcroft_karp.cpp

Added Global variable as private variable

* Update hopcroft_karp.cpp

* Update hopcroft_karp.cpp

* Update hopcroft_karp.cpp

* Update hopcroft_karp.cpp

* Update hopcroft_karp.cpp

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update hopcroft_karp.cpp

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* updating DIRECTORY.md

* Update graph/hopcroft_karp.cpp

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

* clang-tidy fixes for 780580f71f

* Update graph/hopcroft_karp.cpp

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

* clang-tidy fixes for 03f97cb241

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

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

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* applied suggested changes

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* applied changes

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* improved documentation

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update hopcroft_karp.cpp

* corrected code

* Update hopcroft_karp.cpp

* changed the class name

* applied suggested changes

included the HKGraph class and it's member functions inside namespace graph

* Update graph/hopcroft_karp.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update hopcroft_karp.cpp

* Update hopcroft_karp.cpp

* added sample test cases

* Update DIRECTORY.md

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update DIRECTORY.md

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* updating DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: @8848hg <53469557+Himalay12@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 08:41:51 -04:00
David Leal
78fbb40e9d
[fix/feat]: Added Code of Conduct (#1135)
Code of Conduct from the https://github.com/TheAlgorithms/.github repository.
2020-10-14 16:17:27 -05:00
Saurav Uppoor
5a7120165e
docs: Update comments to English from Hindi in sudoku_solve.cpp (#1273)
Co-authored-by: saurav <sauravUppoor@users.noreply.github.com>
2020-10-13 13:13:03 -05:00
Deep Raval
895ae31cd7
Fixed a typo (#1237) 2020-10-11 10:31:00 -04:00
Divyajyoti Ukirde
04e0acc3cf
feat: added check_factorial (#1155)
* feat: added check_factorial

* updating DIRECTORY.md

* feat: added check_factorial

* review changes

* review changes

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-05 08:52:27 -04:00
github-actions
a6a3b7deec updating DIRECTORY.md 2020-10-02 12:22:58 +00:00
pratamjain
c915f9f3c2
Updated stack_using_array.cpp (#1137)
Added bottom function for getting bottom element from a stack .
2020-10-02 08:22:14 -04:00
Rakshaa Viswanathan
8ccd66bda3
Created jumpgame.cpp (#1068)
* Created jumpgame.cpp

An algorithm to check if you can reach the destination

* Changed header files

* Changed header files

* Fixed warnings

* Fixed bug and removed namespace std

* fixed bugs final

* Updated changes

* added documentation

Added description of the problem and a brief explanation of the algorithm.

* Delete linked list without head pointer

You are given a pointer/ reference to the node which is to be deleted from the linked list of N nodes. The task is to delete the node. Head pointer is not given.

* fixed bugs

* Author_edit_Update greedy_algorithms/jumpgame.cpp

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

* main_func_Update greedy_algorithms/jumpgame.cpp

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

* documentation added, testing yet to be added

* Added test function

* deleted linked list without head

* documentation update 1

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

* documentation update 2

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

* test func update 1

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

* documentation updated final

* Formatting update

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

* Formatting update 1

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

* Formatting update 2

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

* Update return

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

* Update greedy_algorithms/jumpgame.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update greedy_algorithms/jumpgame.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Added link to the problem

* documentation update 3

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

* documentation update 4

* Update greedy_algorithms/jumpgame.cpp

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

* Update greedy_algorithms/jumpgame.cpp

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

* Update greedy_algorithms/jumpgame.cpp

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

* Revert "Update greedy_algorithms/jumpgame.cpp"

This reverts commit 072f9cc946.

* Revert "Update greedy_algorithms/jumpgame.cpp"

This reverts commit f308a5f6c2.

* Revert "Update greedy_algorithms/jumpgame.cpp"

This reverts commit 4b6eb0cbc9.

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-02 08:21:16 -04:00
Darshana Sarma
bcf79e259a
feat: Added Postfix Evaluation (#1083)
* feat:Added Postfix evaluation

* updating DIRECTORY.md

* Fixed global variable name and stack def

* Fixed c from int to float

* Fixed clang-tidy

* Modified code for larger values

* Added string header

* Suggested changes

* Fixed clang-tidy

* Apply suggestions from code review

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

* Added description for class

* Fixed function calling

* Apply suggestions from code review

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

* Updated evaluate function documentation

* Apply suggestions from code review

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

* Update others/postfix_evaluation.cpp

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

* Update others/postfix_evaluation.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Darshana-Sarma <lownish@hotmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-09-30 13:48:39 -05:00
Pardeep Bhatt
b09b3da69a
[fix]: dynamic_programming/cut_rod.cpp does not compile (#1085)
* Create largestBST_in_binary_tree.cpp

* formatting filenames b15bd1ea

* updating DIRECTORY.md

* Update DIRECTORY.md

* updating DIRECTORY.md

* fixed compilation error in cut_rod.cpp code

* fixed clang-tidy warnings

* Delete largestbst_in_binary_tree.cpp

* removed compilation errors

* Update cut_rod.cpp

* added requested changes in the code

* added testing

* Update DIRECTORY.md

* Delete largestbst_in_binary_tree.cpp

* added namespaces

* added kadane2 algorithm

* Update dynamic_programming/kadane2.cpp

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

* Update dynamic_programming/kadane2.cpp

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

* Update dynamic_programming/cut_rod.cpp

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

* Update dynamic_programming/cut_rod.cpp

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

* Update dynamic_programming/cut_rod.cpp

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

* added right funtion name in comments

* Update dynamic_programming/cut_rod.cpp

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

* Update dynamic_programming/cut_rod.cpp

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

* added documentation for template parameter

* checking for github actions

* clang-format and clang-tidy fixes for db70ae2f

Co-authored-by: anishmo99 <ani10sh@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Anish Mookherjee <59157112+anishmo99@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-30 13:03:34 -05:00