Well, for the third case, you can elaborate on the implementation. We
need to compare the first half with the later half. So, in case of
even no. of characters it splits perfectly and in case of odd number
of characters, just ignore the middle character.

On Jul 17, 8:28 pm, swetha rahul <swetharahu...@gmail.com> wrote:
> is this ans sufficient..? any other possible test cases for palindrome ?
>
>
>
> On Sun, Jul 17, 2011 at 8:53 PM, Nishant <mittal.nishan...@gmail.com> wrote:
> > 1.If string is NULL then it should return 1 i.e. string is palindrome
> > 2.If there is only one character in string then it is palindrome
> > 3.If reverse of given string is same as string
>
> > On Jul 17, 8:18 pm, swetha rahul <swetharahu...@gmail.com> wrote:
> > > ya got it..thanks...
>
> > > how abt test cases for program to check whether a given string is
> > palindrome
> > > or not..?
>
> > > On Sun, Jul 17, 2011 at 8:35 PM, ankit sambyal <ankitsamb...@gmail.com
> > >wrote:
>
> > > > 1. If u entered nothing and just pressed search, it should display
> > nothing.
> > > > 2. If u just entered a space and just pressed search, it should display
> > > > nothing.
> > > > 3.Verify the results are really related to give word or not
> > > > 4.Check if proper Result is displayed for key word.
> > > > 5. Check for the Order of the Result set, whether most relevant
> > > > results are displayed first.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Algorithm Geeks" group.
> > > > To post to this group, send email to algogeeks@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > algogeeks+unsubscr...@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/algogeeks?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to