HashedIn by Deloitte Interview Question

Design Chess. Low level design question. Asked to write class definition and function signatures. Not entire code.

Interview Answer

Anonymous

Apr 8, 2025

Used OOPS concepts like inheritance and polymorphism to define pieces on the board. Move() function is common for all pieces but function definition is different for each type.