Loading page…
A search app wants its most typed word from a day of 100,000 words, in four languages. The lesson counts words with a map instead of scanning for each word, shows the four tools by name in Python, Java, C++ and JavaScript, and runs the same programs to show where the languages differ: negative division, integer overflow, map order, the JavaScript default sort and stable sorting. It ends with the sort with a key and the habits that keep four solutions in step.
You work on the search box of an app.