Skip to content
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:masterfrom
taras-d:palindrome_3rd_solution
Open

Palindrome for-loop solution#16
taras-d wants to merge 1 commit intoIamManchanda:masterfrom
taras-d:palindrome_3rd_solution

Conversation

@taras-d
Copy link
Copy Markdown

@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
Copy Markdown
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