Check whether the string is palindrome or not
Anónimo
At first, I intentionally described a very basic and inefficient solution, then gradually improved and optimized it step by step so the interviewers could clearly see my problem-solving approach, reasoning process, and optimization skills.