Plymouth Rock Assurance Corporation·Data Scientist·Technical Phone Screen
Jul 2026
SQL question for a Data Scientist role at Plymouth Rock Assurance Corporation, insurance domain flavor. One question, window function territory, not a bad problem if you've worked with cumulative aggregations before.
- Given a table of insurance policy term losses, write a SQL query that computes the 'ultimate loss' for each policy term, defined as the sum of loss amounts for that term and all subsequent terms within the same policy.
“The key is recognizing this is a reverse cumulative sum partitioned by policy.” The rest of the author's notes on Data Scientist interview at Plymouth Rock Assurance Corporation, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post