• + 0 comments

    Solving this was easy, solving this in the timeout constraints not so much. Took some digging and experimenting in which built in array methods are performant and which not so much - for me, a working solution included using Sets instead of Arrays.