Epic Systems Corporation (Wisconsin) Interview Question: You know a password is well-o... | Glassdoor

Find your next job here

Interview Question

Software Developer Interview

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.