People think that computer science is the art of geniuses but the actual reality is the opposite, just many people doing things that build on each other, like a wall of mini stones. Donald Knuth

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.