KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose you are reading from a character stream, the function should return when you have read the first occurrence of palindrome. The length of the palindrome should be even number . The requirement of the time complexity is O(N). Example: 1st character: 4 2nd character: 1 3rd character: 3 4th character: 3 5th character: 1 6th character: 4, return
Tags (comma-separated)
Save Edits
Cancel