Bloomberg L.P. Interview Question: implement strspn function, wh... | Glassdoor

Interview Question

Software Engineer Interview(Student Candidate)

implement strspn function, which is finding the first

  appearance of the second str in the first str

Interview Answer

2 Answers


with the hint given by the recruiter I used sort of hash array to save ASKII # of characters, and mark those appeared in str2

Interview Candidate on Feb 15, 2013


Xiaoge Su on Jul 15, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.