Impetus Technologies Interview Question

Sort stack using another stack