Santander Interview Question

all were simple