Ad
  • Custom User Avatar

    Not good, you are modifying the input array, your inner-loop can also be replaced with a dict lookup + conditional statements, happy coding !