【Microsoft 】Largest Alphabetic Character Microsoft OA 开发岗

喵贵妃 2020-6-9 2836


Given a string S, find the largest alphabetic character, whose both uppercase and lowercase appear in S. The uppercase character should be returned. For example, for S = "admeDCAB", return "D". If there is no such character, return "NO".

最新回复 (0)
返回