Ah yes, and I wasn’t allowed a google search during my whiteboard interview, which was totally also discrimination.
It is certainly not that case that the point of these exercises is to examine how you, as a person think and approach problems.