Sunday, April 22, 2012

Given a dictionary of strings [ strings are in sorted order] you have to find the precedence of characters according to the dictionary..

e.g.
eat
bxy
e is ranked above b according to the dictionary

No comments :