dimanche 22 février 2015

Java code to How to return Best URL from Log file contating URL



you are given a log file from a simple web server. Each line in the log file contains a URL and nothing else. Your job is to write code that will download the log file from the internet, process it, and return the most popular URL in the file. You do not need to normalize the URLs in the log files. If more than one URL is tied for the most popular, you just need to return any one of them.




Aucun commentaire:

Enregistrer un commentaire