IMC Trading interview question

Technical Challenge: Implement custom stack and knight path problem (2 questions) in C++ or Java