News for hackers. Stuff that matters.
Re:Coding Interview Problems with Detailed Solutions, Test C... by lazyant on Monday January 06, 2020 @08:43PM (#21975861)
in golang
Re:Coding Interview Problems with Detailed Solutions, Test C... by haecceity on Monday January 06, 2020 @08:58PM (#21975963)
I think python is the most efficient language to use in interviews tbh. Functional languages might be better depending on the problem but you don't want people thinking you're a witch or something.
Re:Coding Interview Problems with Detailed Solutions, Test C... by ayberk on Monday January 06, 2020 @09:42PM (#21976276)
I learned enough Python for the interview questions specifically for this. Based on my (obviously anecdotal) experience, candidates I interview spend considerably less time on actual coding when using Python.

That being said, Scala makes design questions much easier thanks to its type system.

Re:Coding Interview Problems with Detailed Solutions, Test C... by lazyant on Monday January 06, 2020 @09:41PM (#21976274)
Re:Coding Interview Problems with Detailed Solutions, Test C... by johnwh on Monday January 06, 2020 @10:06PM (#21976406)
Python (or really any dynamic programming language) makes interviews a lot easier, however I have started asking more in-depth questions to make sure they actually understand Python and have done a little bit of research into the language and implementation.

I have noticed some colleges have been teaching more to the interview, so their grads can crush some problems in Python but fail when you ask them to implement a helper they were using. I am not talking about implementing a heap either, I am talking about merging objects.

Re:Coding Interview Problems with Detailed Solutions, Test C... by wy35 on Monday January 06, 2020 @11:40PM (#21976896)
I switched from Java to Python for coding interviews and it's well-worth it. I can solve problems a lot quicker due to the simpler syntax.
Re:Coding Interview Problems with Detailed Solutions, Test C... by throwlaplace on Monday January 06, 2020 @09:02PM (#21975989)
there was a Google retrospective posted a long long time ago where someone cited data that people that use python do better. it's the reason I learned python.
Re:Coding Interview Problems with Detailed Solutions, Test C... by stuxnet79 on Tuesday January 07, 2020 @12:25AM (#21977170)
Agreed 100%. Switching from Java to Python because I grew tired of Java's verbosity.
Re:Coding Interview Problems with Detailed Solutions, Test C... by patrickthebold on Monday January 06, 2020 @09:57PM (#21976353)
I'd like to learn APL solely for interviews.
Re:Coding Interview Problems with Detailed Solutions, Test C... by Koshkin on Monday January 06, 2020 @09:47PM (#21976300)
Wouldn’t work for a C++ position...
Re:Coding Interview Problems with Detailed Solutions, Test C... by eerrt on Monday January 06, 2020 @09:13PM (#21976083)
although most problem solutions seem pretty clear and understandable even for ppl not familiar with Golang