• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keon / algorithms / 241
71%
master: 76%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 03 May 2018 11:55AM UTC
Jobs 1
Files 113
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
241

push

travis-ci

web-flow
Update priority_queue.py

- refactor `insert` and `delete` -> `push` and `pop`. Because `pop` seems more natural while returning the deleted item (rather than `delete`)
- `push` now takes data and priority(optional), and constructs a `PriorityQueueNode` inside the method for inserting. This simplifies the usage.
- used `collections.deque()` for O(1) popleft operation.
- add `__repr__` method.

2709 of 2972 relevant lines covered (91.15%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 241.1 03 May 2018 11:55AM UTC 0
91.15
Travis Job 241.1
Source Files on build 241
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #241
  • b4cbaa44 on github
  • Next Build on goswami-rahul-patch-1 (#243)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc