I'm a relative new comer to development and need some assistance in writing a function. Here are the requirements:

Return the 5th element from the end in a singly linked list of integers, in one pass, and then provide a set of test cases against that function.

Any ideas?



In VB6? Or in VB.NET, or in another language altogether?

The function has to be coded in VB6.



Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.