Search
⌘K

Leetcode 1873. Calculate Special Bonus

Compute each employee's bonus as their full salary if their employee_id is odd and their name does not start with 'M', otherwise 0, and return the employee_id and bonus rows ordered by employee_id.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.