sockMerchant(20, [4, 5, 5, 5, 6, 6, 4, 1, 4, 4, 3, 6, 6, 3, 6, 1, 4, 5, 5, 5])sockMerchant(20, [4, 5, 5, 5, 6, 6, 4, 1, 4, 4, 3, 6, 6, 3, 6, 1, 4, 5, 5, 5]) it returns 8 instead of 9. i-1, j-1i-1, j-1 so it goes back one index. But that didn't workJoin the Discord to ask follow-up questions and connect with the community