News for hackers. Stuff that matters.
Re:Things I Learned from a Job Hunt for a Senior Engineering... by glangdale on Tuesday April 24, 2018 @02:02PM (#16914971)
I'm very confused by this answer. Have I missed a joke? Wouldn't the expected response be to iterate over half the string comparing the characters to the other half (in reverse order)? The criteria you provide seems to suggest aabbc is a palindrome.
Re:Things I Learned from a Job Hunt for a Senior Engineering... by Bahamut on Tuesday April 24, 2018 @02:08PM (#16915042)
Ah sorry, I misunderstood the question - the one I've seen usually is if a string could be rearranged as a palindrome ha.