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.

Ask HN: What language should I use for tech interviews?

2 pointsby drywater2about 4 years ago
Hello HN.<p>I have a background in C++ development and I&#x27;m kind of sick of it and recently quit my job due to burnout and toxic environment. I began learning go and rust for a change and it seems more interesting and easy to write.<p>Regarding tech interviews, I did some research and it seems Python is a lot easier to write algorithms in a short amount of time. I&#x27;m considering learning enough Python to deal with coding interviews.<p>I know most of you would give an answer like &quot;use the language you are most comfortable with&quot;, but if, hypothetically speaking, someone knew all languages at the same level, which language would be the easiest and fastest to write code that involves queues, stacks, linked lists, binary trees, etc.?<p>Thanks for reading. I&#x27;m very curious about your answers.

3 comments

WalterGRabout 4 years ago
To &quot;which language would be the easiest and fastest to write code that involves queues, stacks, linked lists, binary trees, etc.&quot; you need to add the qualifier that it&#x27;s used commonly enough that interviewers understand it. (Of course, it&#x27;s obvious from your question that&#x27;s what you&#x27;re asking.)<p>I love Lisps, but they&#x27;re a risky choice. Python is a great choice. For the types of questions asked in interviews, a language like Java or C# is also a great choice.<p>Using a&#x2F;the language of the company is effective. If you are strong in Python, Java, and C# (or whatever languages) then use what they use. Their language is usually indicated in the job listing.
swmanabout 4 years ago
The one you’re most comfortable with that the company either uses or is looking to use. Unless otherwise specified of course.<p>The goal should be to prove how you think out of a hole, not necessarily the language unless certain features will help you solve that specific problem.<p>IMO
clartaqabout 4 years ago
Scheme. It handles these types of problems easily and clearly. As a bonus, by using a Lisp, they may think you are especially brainy.
评论 #27183955 未加载