Task: Benchmark Recursion vs Iteration Performance
Task: Benchmark Recursion vs Iteration Performance: a task in Terminal-Lego-15k (Harbor dataset). Investigate whether recursion can ever be faster than iteration by implementing and benchmarking both approaches for common algorithms. You will create performance comparison scripts that measure…
The task
Investigate whether recursion can ever be faster than iteration by implementing and benchmarking both approaches for common algorithms. You will create performance comparison scripts that measure execution time for recursive and iterative implementations.
Part of PrimeIntellect/Terminal-Lego-15k.