Explain core components of reinforcement learning | Amazon Interview Question