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

keon / algorithms / 241 / 1
71%
master: 76%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 03 May 2018 11:55AM UTC
Files 113
Run time 4s
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

03 May 2018 11:54AM UTC coverage: 91.151%. First build
241.1

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

Source Files on job 241.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 33
  • Travis Job 241.1
  • b4cbaa44 on github
  • Next Job for on goswami-rahul-patch-1 (#243.1)
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