Posts

Showing posts from January, 2014
Problem: Cellphone Typing link: UVA 12526 Problem:              We have to say average number of keystroke, we have to press while typing given words of dictionary. Idea:        1.) Just store given words of dictionary in a trie.        2.) Then, for all of these words count , how many keystroke needed to type., at last avrg the sum. Solution:           /************************************************************  *                                                          *  *            ==>>BG_PeaceMind(BISHAL) ...