Algorithm · Amazon · Medium
Most Frequent IP Addresses Medium · Topics · Company Tags · Hints You receive a list of network log entries, each containing a single IPv4 address. Your task is to report the 10 addresses that appear most often. When several addresses share the same count as the address that would be 10th, include all tied addresses as well. For each distinct frequency value, output a line with the count, a colon, and then the addresses that have that frequency, sorted in lexical order (as…
Checking your access…