IMC Trading Interview Question

The first question was designing a stack with increment function. The second question was knights path with bfs and having a bishop in the chess game as well.