athenahealth interview question

Write a program which will take an input string and output a palindrome

Interview Answer

Anonymous

Jun 24, 2018

I wrote two programs, one is with lambda expressions which was not much efficient in terms of space complexity & the other one with simple for loops with character swapping within the same array. The developer who asked me to write the program didn't understand the program I wrote in lambda expression :)