TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I collected 500 python & SQL questions from data science interviews

21 pointsby falco925almost 5 years ago

5 comments

geebeealmost 5 years ago
Very cool. I like the SQL questions.<p>I have a question I&#x27;m going to throw out there for HN. How many of you bounce back and forth between SQL and Python, even though you could stick within SQL alone? For example, one question (Airbnb) was about year-over-year growth by looking at the count of hosts registered for each year. I might be inclined to go as far as getting the count through SQL, but then (maybe in a notebook) just write the rest in python.<p>I&#x27;m not asking how many people use SQL and Python together (my guess is almost everyone does), I mean how often do you use SQL just for the select, join, filtering and aggregation, but then go to python even though you know there&#x27;s a way to do this without leaving SQL?
评论 #23972165 未加载
jbpnoy6fiftyalmost 5 years ago
I enjoy the challenges, however, I find it really frustrating when I lose my work every-time I accidentally navigate back to the previous page. This happens easily with a Macbook Pro&#x27;s trackpad. This heavily detracts from usability and prevents me from &#x27;wanting to complete&#x27; the rest of the challenges.<p>I recommend two modifications:<p>1) Disable Navigating Forwards&#x2F;Backwards in the browser, like Jupyter Notebook<p>2) Make use of HTML5&#x27;s localstorage &#x2F; HTML Web Storage for each challenge.
评论 #23972159 未加载
rckoepkealmost 5 years ago
One AirBNB SQL question prompt is:<p>&quot;Find the search details made by people who searched for apartments designed for a single-person stay.&quot;[0] This could be interpreted to mean some refined version of the following:<p>select * from airbnb_search_details WHERE accommodates = 1 AND property_type LIKE &#x27;Apartment&#x27;;<p>However, the expected output includes non-apartments, for example Houses. The expected output matches the following query instead:<p>SELECT * FROM airbnb_search_details WHERE accommodates = 1 AND beds = 1;<p>What do you think users should take away from the experience of completing this question?<p>0: <a href="https:&#x2F;&#x2F;platform.stratascratch.com&#x2F;edu-content-editor?id=9615&amp;python=" rel="nofollow">https:&#x2F;&#x2F;platform.stratascratch.com&#x2F;edu-content-editor?id=961...</a>
评论 #23972184 未加载
falco925almost 5 years ago
Hey guys, just wanted to share a resource that I created a while back but recently redesigned and relaunched. I collected 500+ data science interview questions for SQL and python coding questions. I kept many of the questions as is and re-wrote others while still testing the same concepts they would test for in interviews. The platform has a fully executable IDE with datasets. Many of the questions are free. I&#x27;d love it if you guys could share your thoughts on it! Does this hit the mark as an educational resource to prep for interviews? What can be improved?
sushshshshalmost 5 years ago
Really nice, I have a csv of something similar for Java oriented questions but I really enjoy the work you&#x27;ve done here as I&#x27;m increasingly asked questions about everything since going full stack
评论 #23967046 未加载