Skip to content

Update Area.java - #7675

Closed
sluk267 wants to merge 1 commit into
TheAlgorithms:masterfrom
sluk267:new_branch
Closed

sluk267 wants to merge 1 commit into
TheAlgorithms:masterfrom
sluk267:new_branch

Conversation

@sluk267

@sluk267 sluk267 commented Oct 28, 2026

Copy link
Copy Markdown
  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • 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

@DenizAltunkapan

Copy link
Copy Markdown
Member

Thanks for your contribution. The surfaceAreaPyramid() method already exists in Area.java. This PR adds another implementation with the same signature and calculation, which would cause a duplicate method definition. The added code also does not follow the existing formatting conventions. Closing as redundant.

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