Digital Homesteading

Swift does not have a built-in Heap data structure. To solve leetcode challenges that involve a heap, I decided to code my own within a Swift playground. There’s something very satisfying about solving programming problems using your own fundamental data structures. It’s nothing like building a log cabin from scratch, but there’s something magical about digial homesteading.