Bloomberg L.P.

www.bloomberg.com
Employer Engaged

Interview Question

Software Engineer Interview(Student Candidate)

implement strspn function, which is finding the first

  appearance of the second str in the first str
Answer

Interview Answer

2 Answers

0

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
2

KMP

Xiaoge Su on Jul 15, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.