Is this a lottery?

No, it is a prize competition, the outcome of which depends on the application of knowledge and/or skill.