IXL Learning Interview Question

Standard riddle with jellybeans