I feel like the pattern of "solve this puzzle, get an interview" has fallen out of fashion in the past few years.
In 2012 I got an interview at facebook by solving a puzzle that involved adding weights to a recursive arrangement of levers on top of levers. I remember both having a lot of fun with the puzzle and knowing that I would have never landed the interview any other way because I was coming from a non-traditional background and still relatively junior.
I think Google's foobar came out a few years later. I had some fun with them and got through the first rounds, but by that point I already had a job and never got around to finishing it.
I also remember doing some fun puzzles on codeeval, hoping their business model of linking people to companies would gain some steam, but the companies they signed up never seemed to be very interesting.
Is leetcode essentially the new codeeval?