Really interesting, thanks for sharing!
I believe there's a typo here: "the time complexity would still be ๐(๐)" should be "the space complexity would still be ๐(๐)".
I believe there's a typo here: "the time complexity would still be ๐(๐)" should be "the space complexity would still be ๐(๐)".