Ad
  • Custom User Avatar

    Making my head hurt. Thats so many variables to keep track of haha. But this is super efficient so can't hate

  • Custom User Avatar

    May need an extra unit test to ensure that there aren't duplicates. I passed this in Java and I realized after looking at the other solutions that I didnt use the distinct function on my stream to remove any duplicates. Just a heads up