Added an important problem name Sum of all Sub Matrices. I have implemented all three possible approaches for this question.
Closes: #264
Describe the changes you've made
I have completely implemented a CPP program that takes the input of the no. of rows, no. of columns, and elements of the matrix and prints the sum of all possible submatrices.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
This has been tested by generating a set of random inputs using a generator and verified the outputs manually.
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Checklist:
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
Related Issues
Sum of all Sub Matrices
. I have implemented all three possible approaches for this question.Closes: #264
Describe the changes you've made
I have completely implemented a CPP program that takes the input of the no. of rows, no. of columns, and elements of the matrix and prints the sum of all possible submatrices.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. This has been tested by generating a set of random inputs using a generator and verified the outputs manually.
Describe if there is any unusual behavior of your code(Write
NA
if there isn't)NA
Checklist: