Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed? Steve McConnell

Queue Palindrome

Language Java | Level Intermediate | Category Data structure | August 30, 2015 4:18 pm

Data structure Description

A palindrome is a word or number or sentence which reads the same backward or forward.

Write a program to check palindrome string using queue data structure.


Validate 'eye' is palindrome or not using queue
'eye' is a palindrome.

Validate 'Hello' is palindrome or not using queue
Overflow !
'Hello' is NOT a palindrome.



No comments available!

Please login to add comments.