Question: 17) How to return highest occurred character in a String? (solution) You need to write a function to implement an algorithm which will accept a
17) How to return highest occurred character in a String? (solution)
You need to write a function to implement an algorithm which will accept a string of characters and should find the highest occurrence of the character and display it. For example if input is "aaaaaaaaaaaaaaaaabbbbcddddeeeeee" it should return "a".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
