Polaris FT Interview Question

write a c program to crack a pin/pattern/letter protected password.