We had someone come in and spend 45 minutes on interview problems e.g. produce an array of 100 to 1. You had free access to Google and were encouraged to use them for reference.
After each attempt we said no that's not right, and then at the end we were asked if we were going to use his code in our platform and if he should be paid.
Felt kinda bad for him, clearly didn't pass the interview test.