Most Common Golang Coding Round Interview Question

preview_player
Показать описание
One of the most basic coding question asked in Go Interviews

Question : Write a basic go program Print 1-100 Even and Odd Numbers Using Goroutines and Channels.

* You need to Use two go routines for odd and even printing .
* You must Use channel to communicate
* The most Important point is you need to Print numbers sequentially .
* Output should be - Odd -1 , Even -2 , Odd -3 , Even - 4

This make interviewer to understand how candidate is using channels and go routines .
Рекомендации по теме
Комментарии
Автор

More go coding question videos for 2-3year of experience. Thanks

bodhicrypto
Автор

same question was asked to me at Citius Tech Company

faisalmushtaq
join shbcf.ru