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

8 Apr 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.