What is a state in Q-Learning?

Updated May 17, 2026

Short answer

A state represents a situation in the environment.

Deep explanation

It defines all relevant information needed to make a decision.

Real-world example

Robot position in a maze.

Common mistakes

  • Including irrelevant features increasing complexity.

Follow-up questions

  • Can states be continuous?

More Q-Learning interview questions

View all →