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

keon / algorithms / 245
76%

Build:
DEFAULT BRANCH: master
Ran 03 May 2018 04:27PM UTC
Jobs 1
Files 114
Run time 6s
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
245

push

travis-ci

danghai
Update priority_queue.py (#273)

* 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.

* Add unittest for PriorityQueue

2742 of 3006 relevant lines covered (91.22%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 245.1 03 May 2018 04:27PM UTC 0
91.22
Travis Job 245.1
Source Files on build 245
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #245
  • 4741df44 on github
  • Prev Build on master (#240)
  • Next Build on master (#248)
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