Paycom Interview Question

The technical question was making a function.