TL;DR: Tokenize the repeating characters in a string with (\w)\1*. Some coding challenges (and the occasional real-world challenge) require you to act on the repeating characters in a string. A couple of examples include finding binary gaps, like th...
Frontend, Fintech, and Fadoodles
Hi, I'm Seth Livingston, a Senior Software Engineer at Moov Financial. Aardvark by abraham.williams (https://www.flickr.com/photos/14939682@N02) Space background by Jeremy Perkins (https://unsplash.com/@jeremyperkins?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
Markdown supported · ⌘↵ to post
No responses yet.