Siemens Interview Question

Code a palindrome

Interview Answer

Anonymous

Jul 18, 2018

Ran a for-loop on both ends of the string. At any point if the letters were not the same, my code would exit the loop and return false. Aside from that, the other questions asked were straightforward and intuitive.