Invygo Tech FZ Interview Question

Refactoring some code in a project