Westwing Group SE Interview Question

How do you know if this code is good (code smells)?