Work on data science and machine learning interview questions from top tech companies
Test your mettle against other people on the platform and see how you rank against your peers
Try out our new Takehomes where you solve longer problems in a step by step fashion with notebooks from different companies.
Get the expert help needed to ace your next interview from professionals at top tech companies
All Learning Paths
Explore different learning paths to help you prepare for your next interview
Join our Slack community
Chat with other data scientists, engineers, and product managers
Learn and post about recent interview experiences at tech companies
Salary & Compensation
Compare offers and see how your compensation stacks up against the market
Check out our leaderboard and see how you compare to other users.
Recent articles and guides on data science careers and interviewing
Company Interview Guides
In depth research and data on top companies and their interview processes
View salaries based on location, company and seniority
Find your next dream job on our data science job board
Hire Amazing Talent
Optimize your recruiting efforts for data scientists and machine learning professionals
Post a Job
Post a job listing on Interview Query and we'll display it to our vast network of candidates
Submit an interview question
Share a question you've encountered during the interview
Share your Interview Experience
Help add your interview experience to the community
Share your Salary
Contribute salary and compensation data
Back to questions
Prime Numbers Identification
Mark as completed
View comments (5)
Have you seen this question before?
There's so much more to Interview Query!
Sign up to access hundreds of interview questions, expert coaching and a flourishing data science community.