All DSA Problems
Find the element with the highest repeats in an array
# Online Python compiler (interpreter) to run Python online
maxFre = 0
maxEle = 0
arr = [5, 6, 5, 6, 9, 6]
map = {}
# iterate through arr and populate map {} tp track how many times something wa...
sihan.hashnode.dev12 min read