Interview Question

Software Development Engineer Interview(Student Candidate)

Given a stream of characters and a set of characters, find

  the shortest sequence in the stream containing all characters in the set.
Answer

Interview Answer

1 Answer

0

It's an online algorithm, remember the shortest sequence you've found as you search for a shorter one.

Interview Candidate on Jun 20, 2013

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up