Golang Developer Interview Questions

404 golang developer interview questions shared by candidates

input = A - B - C - D - E - F - G - H k = 3 output = C - B - A - F - E - D - H - G You are given a linked list as input & one k number, so that you need to reverse the nodes of that list in the blocks of k to get the above output.
avatar

GoLang Developer

Interviewed at PubMatic

3.7
Jan 20, 2020

input = A - B - C - D - E - F - G - H k = 3 output = C - B - A - F - E - D - H - G You are given a linked list as input & one k number, so that you need to reverse the nodes of that list in the blocks of k to get the above output.

Write a program with follownig input and gives the following output input := [][]string{ {"john", "device1"}, {"john", "device1"}, {"mary", "device2"}, {"mary", "device3"}, {"mary", "device1"}, } output := ` device1: john, mary device2: mary device3: mary `
avatar

Senior Golang Developer

Interviewed at Mozn

3.1
Jul 15, 2024

Write a program with follownig input and gives the following output input := [][]string{ {"john", "device1"}, {"john", "device1"}, {"mary", "device2"}, {"mary", "device3"}, {"mary", "device1"}, } output := ` device1: john, mary device2: mary device3: mary `

Viewing 201 - 210 interview questions

Glassdoor has 404 interview questions and reports from Golang developer interviews. Prepare for your interview. Get hired. Love your job.