Skip to content

Conversation

@chw9
Copy link

@chw9 chw9 commented Oct 20, 2020

Describe your change:

  • Add an algorithm?

References

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Java files are placed inside an existing directory.
  • All filenames are in all uppercase characters with no spaces or dashes.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

Fixes: #1884

int[][] c = new int[][] {{1, 2, 3}, {2, 3, 4}};

/* test addition */
assert addMatrices(a, b) == c;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to add test please create new unit test class. Please don't add them over here. Or you can remove test part completely.

Please do needful.

@chw9 chw9 requested a review from siriak as a code owner September 17, 2021 09:47
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Sep 26, 2021
@github-actions
Copy link

Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

@github-actions github-actions bot closed this Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add matrix addition algorithm

2 participants