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

Appearance settings
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Palindrome for-loop solution#16

Open
taras-d wants to merge 1 commit intoIamManchanda:masterIamManchanda/algorithms-javascript:masterfrom
taras-d:palindrome_3rd_solutionCopy head branch name to clipboard
Open

Palindrome for-loop solution#16
taras-d wants to merge 1 commit intoIamManchanda:masterIamManchanda/algorithms-javascript:masterfrom
taras-d:palindrome_3rd_solutionCopy head branch name to clipboard

Conversation

@taras-d
Copy link

@taras-d taras-d commented Aug 19, 2018

One for-loop to check if string is palindrome.
It faster than using built-in methods (like split, reverse, etc.) since we break loop as soon as not equal characters found.

@IamManchanda
Copy link
Owner

Sounds good ... outside my workflow right now... but when I get chance will test and merge if appropriate :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.