Skip to content

DisariumNumber#7490

Open
iamcodinghere22 wants to merge 7 commits into
TheAlgorithms:masterfrom
iamcodinghere22:master
Open

DisariumNumber#7490
iamcodinghere22 wants to merge 7 commits into
TheAlgorithms:masterfrom
iamcodinghere22:master

Conversation

@iamcodinghere22

Copy link
Copy Markdown

Added DisariumNumber implementation and its corresponding test file to the maths package.

A Disarium number is a number where the sum of its digits powered with their respective positions equals the number itself. Example: 135 = 1^1 + 3^2 + 5^3 = 135.

  • [ x] I have read CONTRIBUTING.md.
  • [x ] This pull request is all my own work -- I have not plagiarized it.
  • [ x] All filenames are in PascalCase.
  • [x ] All functions and variable names follow Java naming conventions.
  • [x ] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [ x] All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.88%. Comparing base (a508fd2) to head (28bfe86).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7490   +/-   ##
=========================================
  Coverage     79.88%   79.88%           
- Complexity     7340     7344    +4     
=========================================
  Files           809      810    +1     
  Lines         23847    23859   +12     
  Branches       4694     4696    +2     
=========================================
+ Hits          19050    19060   +10     
- Misses         4035     4036    +1     
- Partials        762      763    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@iamcodinghere22 iamcodinghere22 marked this pull request as ready for review June 22, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants