Plusgrade Interview Question

I had to do a code review