A question for C++ coders, otherwise the answer is obvious. The only reason I consider using Python is compactness over equivalent C++ code, which can be handy on whiteboard.
On the downside - although I code in Python also, I am still less comfortable there - can forget, say, the exact way to pass a key / predicate to sorting function, or function names from the heapq module, etc. - this sort of things.
Want to see the real deal?
More inside scoop? View in App
More inside scoop? View in App
blind
SUPPORT
FOLLOW US
DOWNLOAD THE APP:
FOLLOWING
Industries
Job Groups
- Software Engineering
- Product Management
- Information Technology
- Data Science & Analytics
- Management Consulting
- Hardware Engineering
- Design
- Sales
- Security
- Investment Banking & Sell Side
- Marketing
- Private Equity & Buy Side
- Corporate Finance
- Supply Chain
- Business Development
- Human Resources
- Operations
- Legal
- Admin
- Customer Service
- Communications
Return to Office
Work From Home
COVID-19
Layoffs
Investments & Money
Work Visa
Housing
Referrals
Job Openings
Startups
Office Life
Mental Health
HR Issues
Blockchain & Crypto
Fitness & Nutrition
Travel
Health Care & Insurance
Tax
Hobbies & Entertainment
Working Parents
Food & Dining
IPO
Side Jobs
Show more
SUPPORT
FOLLOW US
DOWNLOAD THE APP:
comments
List comprehension and applying filters and maps to lists is also super easy.
The compactness of python is nice, but your real time gains in interviews come from clarifying details, fleshing out the problem, and having a detailed idea of what your code will look like before you begin coding, regardless of language.