Domanda di colloquio di Capgemini

Can you write pseudo code for finding whether given string is palindrome or not? I don’t want code just write steps how?

Risposta di colloquio

Anonimo

29 mar 2018

Just point two pointers at start, end and compare them. Now moving them towards each and find whether the pointer values always same.