Just completed the “Diff Two Arrays” exercise in Intermediate Algorithm Scripting and was hoping someone out there might have some pointers on achieving a more elegant solution than my one below.
Whilst I feel like my solution holds up well in terms of functionality, I can’t help but feel like multiple for loops seems a bit messy I don’t know where I feel like I’ve heard/seen this, but I’m under the impression that for loops should be avoided where possible.