All Known Endpoints
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
The platform team is assembling a service catalog of every endpoint that shows up in either the API request logs or the rate limit rules. Some paths were recorded both with and without a trailing slash, but those point at the same resource and should land in the catalog once, written in the form without the trailing slash. Return the full alphabetical list of endpoints.
Summary
Two tables. One truth. Every endpoint accounted for.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.