I am looking for a website that:

1. Shows you a code snippet. 2. Asks you to enter what you think the complexity is. 3. Analyzes the code snippet to check your answer.

Does anyone know of a site like this?