You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find most repeated character in a string using Swift
In this exercise I solved an easy problem: to find the most repeated character in a string. All the efforts were on finding a way to solve this problem is the most optimal way possible.
The problem was solved on a o(n) time complexity.
About
Algorithm to find the most repeated character in a string in swift.