Loading...

The Sequel Spotter

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
junior, mid

Problem

The catalog team is tired of manually tagging sequels and wants an automated way to spot them. Given a list of book titles, find which titles are sequels. A title is a sequel if it starts with another, shorter title from the same list.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.