Find the Maximum Character in a String

Input
Actual Output
Passed Test Data 'abcbaccb', '1ass1111aa'