Adventures in Advent of Code
Read OriginalThe author shares a detailed experience from Advent of Code, where a seemingly simple puzzle about finding common elements led to a 45-minute debugging session. This uncovered an unexpected bug in Swift's Set.intersection method, prompting the creation of a custom Collection extension to reliably find common elements across multiple groups.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser