Skip to content

Day46 - #104

Merged
vaskoz merged 4 commits into
masterfrom
day46
Oct 7, 2018
Merged

Day46#104
vaskoz merged 4 commits into
masterfrom
day46

Conversation

@vaskoz

@vaskoz vaskoz commented Oct 6, 2018

Copy link
Copy Markdown
Owner

Resolves #103 .

@coveralls

coveralls commented Oct 6, 2018 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 231

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 225: 0.0%
Covered Lines: 24
Relevant Lines: 24

💛 - Coveralls

Comment thread day46/problem.go Outdated
return true
}

// LongestPalindromicSubstringBrute runs in O(N^2) time and O(1) space.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

It’s actually O(N^3) because the IsPalindrome check is linear nested inside of for loops.

@vaskoz
vaskoz merged commit 6d51a30 into master Oct 7, 2018
@vaskoz
vaskoz deleted the day46 branch October 7, 2018 01:51
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