Ad
  • Default User Avatar

    I had attempt to time the execution time of this solution and 3 others solutions using Benchmark.realtime {}

    This solution is the fastest among the four.