Find palindrome of a single linked list string nodes - java

Put each character into the stack and keep popping, if stack is empty then it is palindrome

Comments

Popular posts from this blog

EJB - Stateful vs Stateless

Mirror binay tree - Java