Ad
  • Custom User Avatar

    This is a solution but remember guys, the O notation for this is B(n * m) there's not better solution talking about Big o but we can use join or repat that internaly improve the performance. At the end the big o is B(n * m) but internaly we can improve a little bit the performance c: