Skip to content

docs/algorithms/algs/009/ #26

Description

@utterances-bot

第 009 期(2021.12.9) | Learning

题目描述 # 给定一个用字符串表示的整数的嵌套列表,实现一个解析它的语法分析器。 列表中的每个元素只可能是整数或整数嵌套列表 提示:你可以假定这些字符串都是格式良好的: 字符串非空,字符串不包含空格,字符串只包含数字0-9、[、-、,、]
示例 1 # 输入: s = “324” 输出: 324 提示: 你应该返回一个 NestedInteger

https://talkgo.dev/docs/algorithms/algs/009/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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