Skip to content

sir?  #13

Description

@damnever

dijkstra 算法 在机器上跑过没?明显有错误啊!对照这里,缩进错误

如果可以,希望大侠多点注释

附:
priorityDictionary


有点意思
整数list,将偶数放到前面,奇数放到后面

>>> def odd_even(l):
... return [i for i in l if (~i&1)] + [j for j in l if (j&1)]

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