Skip to content

Remove smiles from string #24

@iamantony

Description

@iamantony

Given a string, find start and end positions of all smiles in string. Each smile starts with “:-” and then an unlimited number of “)” or “(” could go. Remove found smiles. And don't forget to check if new smiles have appeared in string (example - ':-:-)(' ). Do it optimally!

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