Hello,
What is preventing stack.top() from being (0,0) and so this lambda to return a negative number (-m_nMazeWidth) as a result when offsetting to (-1, 0) or (0, -1)?
https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Mazes.cpp#L115