Algorithm · Pinterest · Medium
In the full interview version of this task, the first step is to issue HTTP GET requests to the provided URLs, attaching the HTTP headers you are given, and to pull a designated field out of every response. The text obtained from the two URLs is then merged, and the aggregation problem below is solved on that merged text. You receive N lines of text. Locate every place where a valid IPv4 address appears, tally how many times each distinct address occurs, and print the…