RSS

How will you check if a string is cyclic string of another

Fri, Mar 5, 2010

Algorithm

Connect x to itself, that’ll become xx.
Then search y in that.
The seraching of a string program is given at

doctorinterview.com/index.html/algorithmscoding/array-char-string/implement-strstr/

Refer Corman as it has wonderful explanation and it helps me to avoid copyright issues

Sharing ~ Helping Other:
  • Print
  • email
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BlinkList
  • DZone
  • Slashdot
  • YahooMyWeb
  • StumbleUpon
  • Live
  • IndianPad
  • DotNetKicks
  • Technorati

Other Posts:

This post was written by:

eXclusiveMinds - who has written 500 posts on eXclusiveMinds.


Contact the author

Leave a Reply

You must be logged in to post a comment.