Hi Naveen, Others may disagree but my take is that Go is not a great coding interview language. The lack of many built-in data structures is a big one, but those closing curly braces and other syntax can be a big pain when writing on a whiteboard. In cases where only general programming knowledge is being tested for, I would pick Python so long as you're comfortable in the language. It has more data structures available and is simply easier to write on a whiteboard. Other conveniences like all, any, and list comprehensions also come in handy when time to write code and available space for code is at a premium.
Of course, traits that make a language better for interviews don't always make the language better for production use. Go is still my go-to language for many other things :) On Thu, Jan 10, 2019 at 4:56 PM Naveen Neelakanta < naveen.b.neelaka...@gmail.com> wrote: > Hi All, > > I wanted to use Golang for coding interviews, however, I can't import > basic data structures like stack, heap, the queue on to IDEs. Is there a > way to achieve this. > > Thanks, > Naveen > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.