Hottest Line
Hard · Performance
A profile is map[string]int of line → sample count. Return the line with the highest count. If the map is empty, return "". If there is a tie, return the lexicographically smallest line.
Write Hottest(samples).
Next: Clone Without Sharing