Yes, that's the thin veil on top of the IQ test. It's similar to programming puzzles asked at tech cos.
I think they’re each measuring one’s ability to do a certain type of puzzle. IQ tests at least attempt to measure general ability across a variety of tasks.