toi

TOI17 wall - กำแพงนคร (The Wall)

🏠 รวมเฉลย TOI17

💎 problem.pdf

🎉 solution.cpp

Search on Grid

ด้่วย DFS หรือ BFS ก้ได้ แต่ต้องตั้ง visits ไว้ไม่ให้ทำซ้ำตัวที่เคยทำมาแล้ว