Skip to content

Head and temp names should change #1397

Closed
@tirthajyoti

Description

@tirthajyoti

Hi,

In your Linked List implementation, I think temp is wrongly spelled as tamp. The code works but for readability purpose all tamp should be replaced by temp.

Also, I find it strange to name the head with a capital Head. Generally, capitalization in Python is saved for Class names, not class attributes or methods. If you think the code should be more Pythonic, please consider changing all Head to head in the class attributes for Linked List.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions