The Resume Sifter
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L3
Problem
Given a list of URLs in the format 'https://resumes.io/firstname_lastname_id' (or 'firstname_id' for single-name variants) and a set existing_ids of known ID strings, return a list of [name_prefix, id] for URLs whose id is NOT in existing_ids, preserving input order. The name_prefix is everything before the last underscore; the id is what follows.
Summary
Pull what's useful. Skip what you know.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.