Try this exercise. Click the correct answer from the options.
What could be another method to check that a cell is not visited twice?
Click the option that best answers the question.
- Add extra conditions
- Use a dictionary/hashmap
- Use a set
- None of the above