Skip to content

two_sum improve time #5

Closed
Closed
@ying2025

Description

@ying2025

You can limit the length of m, and initial ok before for, it can speed up the time. But I don't know how to reduce the memory, do you have any idea ?

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