Travelers interview question

some regression problems about insurance