Pergunta de entrevista da empresa Samsung Electronics

Three fisherman problem which you will find on geekforgeeks.