The Home Depot Interview Question

reverse an unsorted integer array; cycle in a linked list