Applied Materials Interview Question

Array, linked list related problems