Skip to content

3차원 리스트를 사용해서 시간이 오래 걸렸는데 #62

Description

@jinjunpark

2차원 리스트에 딕셔너리를 넣는 방식으로 하니까 훨씬 빠르네요
또 잊어버릴까봐 적어봐요
key에는 숫자를 넣고, value에는 이 숫자의 개수

ex)
[3, 3, 3, 4, 4, 4, 5, 5]
-> {3: 2, 4:3, 5: 2}

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions