Skip to content

Bug Report for merge-k-sorted-linked-lists #5798

@KozachenkoPavlo

Description

@KozachenkoPavlo

Bug Report for https://neetcode.io/problems/merge-k-sorted-linked-lists

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

I see test 2 and test 3; the difference between them is that test 2 passes an empty list, but test 3 passes a list with an empty list, but I am getting just an empty list. I think the problem is in the serializator, which converts JSON data and passes it into the function we are testing.

Image Take a look at "input" and "stdout". I am sure that this is not the correct behavior because my solution wouldn't pass this test.

Thanks for everything you are doing!
Let me know if you need more information. I will be happy to help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions