Question on Chapter 2 quiz

What is the correct answer to the question? as I am getting the same answer.

Multiple Choice Question
Which of the following require state variables?

Remaining number of moves allowed

Original length of the input

Current index along the input

Number of keys currently being held

The original number of moves allowed
https://leetcode.com/explore/learn/card/dynamic-programming/631/strategy-for-solving-dp-problems/4048/

Comments (1)