Panasonic interview question

logic question & patent question