ankitapuri / DSA-guide

Trying to cover important DSA
MIT License
49 stars 113 forks source link

[feature-1] Added Sum of all Sub Matrices of a given Matrix in CPP #272

Closed kiruba-r11 closed 3 years ago

kiruba-r11 commented 3 years ago

Related Issues

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:

kiruba-r11 commented 3 years ago

@ankitapuri Please have a look at it. Also, I feel this is a hard problem, therefore if it's convincing to you please re-label it as hard.