Month ago I had some online assessment and was dealing with HR platform.
I had an issue trying to solve the question which was noted as
"find the maximum element in the linked list"
during the coding I was straggling to try get the result since I did not know how to get the VALID input..
1)The pure list and iteration was not correct, like [4,2,13,9,-4,1]
not sure how to determine the input then?
how would you try to get the input when it says it is SINGLY LINKED LIST, what input would u pass?