Skip to content

Sumoffigitswithoutanyloop - #179

Merged
prabhupant merged 1 commit into
prabhupant:masterfrom
avats101:master
Oct 17, 2019
Merged

Sumoffigitswithoutanyloop#179
prabhupant merged 1 commit into
prabhupant:masterfrom
avats101:master

Conversation

@avats101

Copy link
Copy Markdown
Contributor

Finding Sum off digits of a number untill the sum is singular,without any loops
Reducing the time Complexity of the program

Finding Sum off digits of a number untill the sum is singular,without any loops

@prabhupant prabhupant left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This will return 2 for n = 11234

@avats101

avats101 commented Oct 17, 2019 via email

Copy link
Copy Markdown
Contributor Author

@prabhupant

Copy link
Copy Markdown
Owner

Oh sorry. I though it was just simple sum of digits. My bad 😅

@prabhupant
prabhupant merged commit 9f93937 into prabhupant:master Oct 17, 2019
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