http://dev-faqs.blogspot.in/2010/05/boyer-moore-algorithm.htmlkodeknight String string-search See alsoConvert String to ZigZag Bottom UpFor a Given node of a binary tree, print the K distance nodes.Find the distance between 2 nodes in Binary TreeFind the distance between 2 nodes in Binary TreeProgram to count leaf nodes in a binary tree