Barnes & Noble Interview Question

all pretty standard