Unlike what was told, the first round had a Java multi threaded problem to be solved - which happened to be of the bounded buffer producer consumer type. As per the question candidate had to design a executor service similar to what is in Java. After solution reached some level, I was asked to take help from any AI assistant.
Golang Developer Interview Questions
406 golang developer interview questions shared by candidates
General questions
write an sql query to find the row which is having second maximum salary?
What size of company do you prefer?
4. Simple problem to sort the integer array
Questions asked as was going through the implementation of the code test, general ones related to how I was implementing things. Behavioural was asked how I approached a situation where there was push back / hesitation on an idea I was putting forward / implementing.
Write a program to print even and odd numbers of a slice using go routines. The even and odd numbers should be printed in the original order as in the slice.
Asked me to answer a few of the coding tests over the video call.
Var x=[]int{1,2,3} For j:=range x{ Fmt.println(j) } Output?
O/p? For i:= range 3{ Defer fmt.println(i) }
Viewing 241 - 250 interview questions