Interview Question

Financial Software Developer Intern Interview(Student Candidate) New York, NY

Find and store all the occurences of each letter in a word.

Answer

Interview Answer

1 Answer

0

use a hash{key => letter, value => array of index of the occurrence}

Dekus on Sep 17, 2012

Add Answers or Comments

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