Find maximum-occurring character in a string | SoFi Interview Question