Compass Interview Question

Implement a function to check if given array of letters is sufficient to form a given word.