Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

66. Plus One #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
zwfang merged 1 commit into master from plus-one
Jan 2, 2019
Merged

66. Plus One #38

zwfang merged 1 commit into master from plus-one
Jan 2, 2019

Conversation

Copy link
Collaborator

@zwfang zwfang commented Jan 2, 2019

https://leetcode.com/problems/plus-one/

Given a non-empty array of digits representing a non-negative integer,
plus one to the integer.

The digits are stored such that the most significant digit is at the head of the list,
and each element in the array contain a single digit.

You may assume the integer does not contain any leading zero, except the number 0 itself.

@zwfang zwfang added array An array is stored such that the position of each element can be computed from its index math math includes the study of such topics as quantity, structure, space, and change. Easy Coefficient of difficulty easy labels Jan 2, 2019
Copy link

codecov bot commented Jan 2, 2019

Codecov Report

Merging #38 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@
## master #38 +/- ##
=========================================
+ Coverage 99.29% 99.3% +0.01% 
=========================================
 Files 79 80 +1 
 Lines 1399 1414 +15 
=========================================
+ Hits 1389 1404 +15 
 Misses 6 6 
 Partials 4 4
Impacted Files Coverage Δ
src/0066_plus_one/plus_one.go 100% <100%> (ø)

@zwfang zwfang merged commit 05f8ec3 into master Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
array An array is stored such that the position of each element can be computed from its index Easy Coefficient of difficulty easy math math includes the study of such topics as quantity, structure, space, and change.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /