Solve this problem ? Follow me for daily challenges | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 2

Solve this problem ? Follow me for daily challenges

Given a singly linked list, find the middle of the linked list. For example, if the given linked list is 1->2->3->4->5 then the output should be 3.  If there are even nodes, then there would be two middle nodes, we need to print the second middle element. For example, if given linked list is 1->2->3->4->5->6 then the output should be 4. 

21st Sep 2021, 5:39 AM
Patel
1 Réponse
+ 3
Smayra Patel This is not a right place for challenge. Post here but read description first. https://www.sololearn.com/Discuss/1270852/?ref=app
21st Sep 2021, 6:22 AM
A͢J
A͢J - avatar