Write a program which will take an input string and output a palindrome
Anonymous
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 :)
Check out your Company Bowl for anonymous work chats.