< mockra >

Array Diff - 20 Jun 2013


For one of my side projects, I wanted to find the differences between two arrays. I needed to know what additions/deletions to make on one array to recreate the other.

Here’s the solution I came up with: