How do you teach an algorithm what a good .com domain is? 🤖 by Norah Klintberg Sakal link.medium.com/cFKawmRb7gb
Andreas Klintberg
@Klintcho
Tinkerer, prototyper and wannabe entrepreneur
545 Following 184 Followers 703 Posts
Latest posts 5
Knuth Morris Pratt - an efficient way of finding a substring in a string. See "Boyer Moore" string search algorithm for an algorithm solving a similar problem.
Implementation inspired by dev.to/avinsharma/knu…
Implementation inspired by dev.to/avinsharma/knu…
Run-length encoding - used to compress a stream of data, but can also be used in many other places, see for instance the high five problem on leet code
Sliding window pattern - useful to remember whenever you see "substring" in a problem description.