I noticed that I spend a lot of time typing in online assessments when I use C++ for problem solving. I have 7 YOE in C++. Which language should learn to use in interviews? I want to spend less time in keystrokes. My target company for now is Amazon.
Java and C# are basically the same, and python can be learned in a few days.
Not priority_queue, LinkedHashSet etc
C++ has the best std library for algo related questions imo. I would stick to c++
Does python have STL like library to handle any algo question ? Or like in Java priority_queue, LinkedHashSet, etc
Python's list comprehension is magical. Most easy/medium interview questions can be optimally solved in under ten lines.
Some times companies do not allow Python in Hackerrank though. They don't get to see your coding skills. It's more like writing pseudo code.
How is it like writing pseudo code if it's an actual programming language lol
If c++ is your best language, you should interview with that. Learning something new for an interview is a bad idea. Having said that, you should know at least a couple of languages for your own good.
+ in modern c++ you can do much more with less. Don’t write c code in c++
Use whatever language you’re most comfortable in. I’d rather see someone use a language correctly and show off advanced feature with confidence than someone not knowing how to express code to do something, like how to use a mutex or write a custom comparator. I use only java or c++. Mostly c++.
What if the candidate has work experience in Java for several years, but insists on coding in C++ in interviews ? Does it look bad on him in the interview ?
Depends. If I was interviewing for a role where we would just be using Java, I would be using Java since they’ll also be evaluating how modern my Java is. If I’m interviewing for a role where C++ would be more common, I’d use c++. For general interview loops it doesn’t matter. Use what you’re best at.
Tech Industry
Yesterday
416
Chances of meta clearing E5 with screwing up one coding one round and acing all other
2024 Presidential Election
Yesterday
1596
Biden ruined America and tech! Tax plans are insane
Tech Industry
2d
52183
Goog Employees Arrested
Layoffs
2d
40075
Google CFO confirms 'large-scale' layoffs (Apr 17)
Health & Wellness
Yesterday
5983
Why are women naked in gym?
Python is the optimal whiteboarding language.
Optimal interviewing language*
Thanks. Not only in whiteboard when I used C++ in online assessment I noticed that most of my time is spent in keystrokes. What worries me about python is indentation errors. If the online IDE is not very good do you think I may fail while trying to match spaces, tabs etc?