Find the character with the highest frequency in a string, breaking ties by choosing the lexicographically smallest character.
Problem Statement
Examples
Input: s = "testsample"
Output: "e"
Explanation: Both 'e' and 's' appear 2 times. 'e' is lexicographically smaller.
Input: s = "output"
Output: "t"
Explanation: 't' appears 2 times, which is the highest frequency.
Input: s = "banana"
Output: "a"
Explanation: 'a' appears 3 times.
Constraints
1 <= s.length <= 10^5 s consists only of lowercase English letters ('a' - 'z')
Complexity
Time Complexity: O(N)
Space Complexity: O(1)