educative.io

Expected output

Hi! In the challenge where I need to write an intersection algorithm for 2 LinkedLists, the output LinkedList nodes order requirements are not clear, I guess there shouldn’t be any specific order requirements, but my answer is not accepted by the code runner (see the screenshot). If there are particular requirements can we describe them in the problem statement? Or if there are no such rules, can you tune please the code runner to accept any list that has a correct set of nodes?


Course: Data Structures for Coding Interviews in C# - AI-Powered Learning for Developers
Lesson: https://www.educative.io/courses/data-structures-interviews-cs/challenge-9-union-and-intersection-of-linked-lists

1 Like

Hello @Alex3,

Yes, you are correct about this. We have carefully considered and resolved the issue. It will soon be live on our platform.

Keep sharing such suggestions and feedback; we really appreciate users taking and learning from our courses.

Happy Learning!

1 Like