Find smallest and largest elements in singly linked list | GeeksforGeeks

preview_player
Показать описание

This video is contributed by Rahul Agarwal

Please Like, Comment and Share the Video among your friends.

Follow us on Facebook:

And Twitter:

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

Hey Rahul, Can't we initialize the two var min, max assign to head value and compare values in iteration for min n max. which can be done in single loop

GaneshKumar-dwgr
Автор

This code is complete garbage. Where did you define INT_MIN before starting to use it? Also, what the hell is Node* and -> ?

toomaskotkas
join shbcf.ru