Coding Interviews: Sorting Characters by Frequency in JavaScript
TL;DR
Problems where you are counting frequencies often are great candidates to use the map data structure.
We need to count the character frequencies, extrapolate the characters, sort the extrapolated strings, and then join these strings back toget...
mjstromberg.hashnode.dev5 min read