What is the intuition behind rec_node_stack? Both visited and rec_node_stack looks same. Is there any scenario when they both are different?
Type your question above this line.
Course: https://www.educative.io/collection/5642554087309312/5634727314718720
Lesson: https://www.educative.io/collection/page/5642554087309312/5634727314718720/5641906755207168