Meta·Software Engineer·Technical Phone Screen
- Implement a function that repeatedly calls an external get_story() API to collect at least 5 stories, accumulates rankings for duplicate story names, filters out stories below a given offset threshold, and returns the remaining stories sorted by ranking in descending order.
“The accumulation part is where I almost messed up.”