Pinterest Interview Question

What steps would you take to set up a new earnings code?