Fujitsu Interview Question

Questioned on arrays and lists