So I tried looking for this in the search but the closest I could come is a similar answer in several different languages, I would like to use Javascript to do it.
T
Easy way to solve this algorithm, very straight forward.
function firstNonRepeatChar(str){ let map = {}; for(let i=0; i