Epicor Software Interview Question

How to reverse a list