Want a Free Job Posting?

Buy a job posting today and the second one is on us. For a limited time only. Act Now.

Interview Question


You know a password is well-ordered numbers. Given an input

  # that tells you also how many digits are in the password, print all possible passwords.
technical, algorithm

Interview Answer

1 Answer


The max amount of digits can't be greater than 10 because then it would not be well-ordered. Use up to 10 nested for loops to iterate through the digits in a well-ordered fashion based on the input #.

Interview Candidate on Dec 23, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.