There is no way to tell which answer is faster without actually running the code and comparing the execution times. The execution time of a code snippet can be influenced by many factors, including the programming language, the interpreter or compiler, the input size, and the hardware on which the code is running.