The website I'm talking about was like a game, you had a textarea where you type in the snippet, and the website would evaluate it and tell you if it matched the output or not.
It did not provide the solutions, you had to come up with them.
Reply on news.ycombinator.com