Pinterest Data Scientist interview questions

1 Data Scientist has shared notes from their Pinterest interview, with the questions they were asked. That is 1% of the 123 Pinterest interview notes on Screna AI.

1 Data Scientist interview note

Pinterest·Data Scientist·Technical Phone Screen

May 2026
Pinterest data scientist round that was basically one meaty coding question about hyperparameter combinations, plus a test design component tacked on. More algorithmic than I expected for a DS role, felt closer to a software engineering screen.
  • Given multiple groups of hyperparameter values (e.g. learning rate, batch size, optimizer each with a set of allowed values), generate all possible combinations across groups (Cartesian product) and return them.
  • Design test cases for the hyperparameter combination function, covering: empty input, a single group with one value, a single group with many values, multiple groups, duplicate values within a group, and output ordering consistency.

“My first instinct was to reach for itertools.product and call it done, but they wanted me to think through the logic manually first.”

View Post