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

14. Longest Common Prefix #29

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 longest-common-prefix
Dec 31, 2018
Merged

14. Longest Common Prefix #29

zwfang merged 1 commit into master from longest-common-prefix
Dec 31, 2018

Conversation

Copy link
Collaborator

@zwfang zwfang commented Dec 31, 2018

https://leetcode.com/problems/longest-common-prefix/

Write a function to find the longest common prefix string amongst an array of strings.

If there is no common prefix, return an empty string "".

@zwfang zwfang added string A string is used to represent text. It is comprised of a set of characters. Easy Coefficient of difficulty easy labels Dec 31, 2018
Copy link

codecov bot commented Dec 31, 2018
edited
Loading

Codecov Report

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

Impacted file tree graph

@@ Coverage Diff @@
## master #29 +/- ##
==========================================
+ Coverage 99.2% 99.21% +0.01% 
==========================================
 Files 70 71 +1 
 Lines 1249 1260 +11 
==========================================
+ Hits 1239 1250 +11 
 Misses 6 6 
 Partials 4 4
Impacted Files Coverage Δ
src/0014_longest_common_prefix/lcp.go 100% <100%> (ø)

@zwfang zwfang merged commit 21262fc into master Dec 31, 2018
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
Easy Coefficient of difficulty easy string A string is used to represent text. It is comprised of a set of characters.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

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