Skip to content

Solution - #2894 - Andrew - 07/06/2025 - #50

Open
Vitessse wants to merge 4 commits into
Dijkstra-Edu:masterfrom
Vitessse:divisible-sum-difference
Open

Solution - #2894 - Andrew - 07/06/2025#50
Vitessse wants to merge 4 commits into
Dijkstra-Edu:masterfrom
Vitessse:divisible-sum-difference

Conversation

@Vitessse

@Vitessse Vitessse commented Jun 7, 2025

Copy link
Copy Markdown
Contributor

Solved problem 2894 and added explaination.md file

| ------------- | --------------- | ---------------- |
| Brute Force | O(n) | O(1) |
| Optimized | O(1) | O(1) |
| Best Approach | O(?) | O(?) |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why has it been left to O(?)?

Comment on lines +15 to +27













No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All of these extra lines can be removed. make sure the code is formatted well

Comment on lines +5 to +6


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove unnecessary extra lines

Comment on lines +8 to +9


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove unnecessary extra lines

@JRS296 JRS296 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Kindly make the changes requested

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