************** A friend was practicing coding interviews and wanted a data structure-based love song as a joke. There is a single AI verse (oh no!), which is the second to last stanza about breakpoints 🙈 ************** [intro hook] (shhh shh shhh) [verse] Babe, I been searching for an algorithm wonderin' how to reverse (reverse) the linked list of our relationship you know, the history of us? [pause] but I must’ve missed a reference somewhere [pause] [verse] Cuz babe, when i try to look back i get nowhere all i got are dangling pointers variables left undefined [verse] babe, my memory’s been leaking i was hoping we could just re-compile but my friends say i oughta de-allocate write new code, cast new types pop you off my stack [verse] but babe, babe, baaaaabe you were the key to my hashmap O(1) access straight to my heart and i thought i had yours too (nah nah nahhhhhhh) [verse] was it a lookup collision? was there somebody else? or was I just a cache miss? my policy was always LRU, but maybe you were FIFO [female] Babe when we first met, I thought we were connected components ya know I was feeling max flow, no worries— Didn't detect toxic cycles, but now I know we been here before. [male] Is it really too late? Is it time to min cut? [female] Babe, I guess we were a DAG all along time only goes one way and so do we— [female] separate leafs— [male] separate leafs— separately— branches split down life's long tree, and now I've been wondering: [male] babe, how long you think we been like this? [female] babe, did you know our LCA all along? [strings] [duet] If we're honest, the truth is We’re both greedy algorithms just in different wayssss [male] I wanted to DFS you wanted to BFS You couldn't commit, now we've got a merge conflict, whoa [male] Is it systems design? No CAP—maybe I should’ve known you weren’t meant for that I thought i could give up consistency but babe, you weren’t even available Low throughput High latency like you was rate limiting me, babe [break] [female] Or maybe it was really some low level shit deferred promises unhandled rejections invalid arguments race conditions deadlock seg fault program crash [male] I raised my exceptions And you core dumped me [original instrumental] [female] Babe maybe we shoulda set breakpoints, but we never paused. Stepping over every warning, now we're lost in our old logs. [silence] [male] Babe, I never had a head for recursion But you got me spiraling My friends say I’m gonna stack overflow Looking for a base case I can’t find frame after frame after frame When i keep asking myself and I keep texting you, calling you asking you asking you where did we go wrong where did we go wrong where did we go wrong where did we go where did we go where did we go where did we where did we where did we where did we where- where- where- where- where- where- w-w-w-w-w-w-where WHERE!!!! [pause] (Call stack exceeded.). [outro]

Comments are disabled on this song