Interview Guides
Given a list of log lines logs, where each line is a string containing an IPv4 address and an HTTP status code separated by spaces, return the top 10 IP addresses that generated status code 500. The result should be ordered by descending count of 500 responses, and for ties, by ascending IP string.
1 <= len(logs) <= 2 * 10^5"<ip> <status>"status is a 3-digit string