IMC Trading interview question

1. valid password(about substring and regular expression) 2. Elevator problem 3. Debug a written Nail progam