Skip to content

toString() is not efficient #8

@BreakUps

Description

@BreakUps

Can you implement an efficient toString() function, whose time complecity is O(L), (L is the length of the final string). Direct concatation using '+' has O(L^2) time complexity.

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