Find length of Loop | gfg POTD | 29th April | Let's Practice Together | Problem of the day

preview_player
Показать описание
#CreatingForIndia
#CodeIndiaCode
#problemoftheday
#potd

Hello everyone,
this is an education purpose video.
Tried to explain and solve the problem of the day question of geeksforgeeks.

6 month roadmap for beginners -

Problem link -

Given a linked list of size N. The task is to complete the function countNodesinLoop() that checks whether a given Linked List contains a loop or not and if the loop is present then return the count of nodes in a loop or else return 0. C is the position of the node to which the last node is connected. If it is 0 then no loop.

Like | Share | Subscribe

Thanks!

#problemOfTheDay
#potd
#gg

Let's Practice Together
Hackwithinfy
Tcsdigital
tcsnqt
walmart interview questions
Рекомендации по теме