How to solve a Code Review Exercise - Using SOLID Principles
Solving a code review exercise is meant to judge your coding skills as well how you architect the code.
Refactor the Piece of Code
The interviewer will give you a simple code like the one below and ask you to refactor the code for better readability and scalability.
import java.util.Date
enum class ExpenseType {
DI…

