You have a Log file that stores the "users id", "time"(irrelevant), and
"webpage visited." Find the most common three-sequence webpage visited by
the users. For example, you have a log file

joe, 12:30pm,home
joe, 12:31pm,about
joe, 12:32pm,career
james, 12:35pm, home
james, 12:36pm, cart
james, 12:37pm, maps
mary, 12:41pm, home
mary, 12:42pm, about
mary, 12:43pm, career

thus the most common sequence is home->about->career because the sequence
occurs twice as oppose to home->car->maps which only occurs once.

In addition, this file is a huge file with many more entries.


http://www.careercup.com/question?id=9981709

-- 
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