Implement Push And Pop Algorithm Interview Question