Live data from Hacker News

Ask HN: How best to prepare for Python interviews starting in 3 months?

news.ycombinator.com

21–30 of 39 posts

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#22
Some excellent suggestions here.

For learning, exercism.io is amazing: they assign people as mentors to review your code, and I've had really good experiences while learning Rust, with feedback calibrated nicely to my level of expertise.

For how to think about algorithmic interviews, I always recommend this short set of notes: http://courses.csail.mit.edu/iap/interview/materials.php

For fun, try Advent of Code this year and see how far you get, and whether you like it. As @analog31 suggested, this might be a fun thing to do with his son.

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#23
https://exercism.org/ has been amazing for learning programming languages, I've taken the rust, golang and elixir tracks and they are very good at getting immersion into the language by getting tests pass. Especially the new version that was launched in September is really slick and you no longer have to wait for mentors.

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#24
If you're just looking to drill problems, I think adventofcode.com is more fun than Leetcode.

What's worked best for me in learning new languages and such is trying to solve small problems I've had or just working on something I'm interested in. I get so burnt out just grinding generic programming problems.

Lots of other great suggestions here.

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#25

Few questions to get started: - __init__ vs __new__ - Difference between list and set - Abstract classes use - Generators vs iterators - How yield works - Is python call by ref/val or both. How to implement each - How python list allocates space, how it is implemented - what is cpython, pypy

I'd be surprised if #1, #4, #7, #8 were ever asked in an interview, let alone for someone just learning the language.

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#26
Grind Leetcode (in Python) and build a small full-stack project with his son. Django is written in Python so they could build a functioning web app with that. I recommend paying for Leetcode Premium - $35 a month - because it'll teach data structures/algorithms and have problems from big high paying companies.

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#27
1. Choose three companies now to apply to in three months 2. Research their interview style and focus on that 2.a If they are algo/ds heavy, do algoexpert; leetcode is a hit or miss 2.b If they are programming heavy, no suggestions from me but making apps in Python 2.c Probably not enough time for design but the boar book ( designig data intensive applications by martin kleppmann)

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#28

If you have 3-months - https://pythonmorsels.com has been a godsend for me when drilling on the fundamentals of the python language. I guarantee that if you are relatively new to the language, that you won't run out of (A) Interesting exercises, (B) Fundamental language concepts in less than 30-45 days, even spending 2-3 hours/day. Just knock off 1 or 2 a day, and then come back a couple days later, and, without chec…

I assume you're talking about the pro plan and not the lite plan?

Re: Ask HN: How best to prepare for Python interviews starting in 3 months?

#29
Build a site like hacker news using flask. I say flask instead of Django because it’s more light weight. I would also recommend doing something math heavy like following the stock market (even if you don’t spend actual money) just to learn the ins and outs and what’s slow/etc in python (spoiler: use numpy.)

Those are the two things I did, I came from PHP and until a 2.5 years ago I never touched python but I work with it full time (also react, which I didn’t know at all when I started.)

What you build isn’t all that important, or the language. Most languages can be picked up on the job. But doing some personal projects + a couple leet code or project Euler problems a week will make one a good programmer in 3 months. You want the personal projects to act as a portfolio you can show off to recruiters though.

Post reply on HN