When debugging, novices insert corrective code; experts remove defective code. Richard Pattis

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.


Output

   					 
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.

				    

Comments


No comments available!

Please login to add comments.