Back to course home
0% completed
Vote For New Content
Or we could have a deque for currentLevel instead of a vector and alternate from...
Athanasios Petsas
Feb 12, 2022
Or we could have a deque for currentLevel instead of a vector and alternate from push_back to push_front.
3
0
Comments
Comments
A
Athanasios Petsas4 years ago
Oh actualy this is already shown in the python code. I was looking C++ before:P
Ahmed k3 years ago
i was going to say the same :D
Divyanshu Varma6 months ago
Yup, single std::deque and a bool to track direction.
On this page