Microsoft Interview Question

simple questions on arrays and strings.