Procore Technologies Interview Question

Coding example; pseudo code for a social game