Skip to content

File [Java/DataStructures/Lists/DoublyLinkedList.java] method delete() may cause NullPointerException #773

@Seandba

Description

@Seandba

If you delete an element which does not exist in the list may cause NullPointerException,
, for example, line 235,change myList.delete(7) to myList.delete(99).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions