UC Santa Cruz Interview Question

it isnt any difficult question