0
Help
Iâm still searching singly linked list (find mid value) I got lot of solution about linked list in SoloLearn code solutions But I didnât see any void mid value code. Any one please suggest me. Language c or c++
1 Answer
+ 2
Go from head to tail and count number of elements.
Divide by 2....that's n
Go n steps along list and insert there.