Resource · Guide or article
Technical interview questions
Practical coding questions for data science interviews, with community-written answers in SQL and Python. Good for rehearsing the hands-on part of data scientist and ML engineer interviews.
Reviewed
Open the original: Technical interview questions (opens the original site in a new tab)Practice this topicOpens the practice interviewer in Technical / coding mode; choose a question there.
Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Technical interview questions in Data Science Interviews.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Question list
What it covers
- SQL tasks on an ads and events schema: counts, active campaigns, events by type and date, CTR and conversion rate
- Python warm-ups on basic statistics and metrics such as mean, standard deviation and RMSE
- Text-processing tasks such as run-length encoding, Jaccard similarity, IDF and PMI
- Algorithm problems including two sum, Fibonacci variants, binary search, BST validation and Kadane's maximum subarray
How to use it
PrepKit study advice, not a claim made by the source.
Set up the Ads and Events tables with fake rows and write each query yourself before reading the answer. Then solve the Python tasks without looking and compare. Note every place where the posted answer and yours differ.
Scope and limitations
The file warns that answers come from the community and should be double-checked. Some do contain visible errors: one query sorts oldest first where most recent is asked, others mix SQL dialects, and a few Python answers have indentation or logic slips.
Access and format
Markdown file in the alexeygrigorev/data-science-interviews GitHub repository, free to read, in English, licensed CC BY 4.0.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 919f44547ef5
Evidence behind this overview
- technical.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.