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

knaxus / problem-solving-javascript / #562

18 Jun 2023 05:07PM UTC coverage: 97.602%. First build
#562

push

travis-ci

web-flow
Merge pull request #207 from Ahtaxam/master

Add 3-sum problem with improvement issue #208

525 of 541 branches covered (97.04%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 1 file covered. (100.0%)

1266 of 1294 relevant lines covered (97.84%)

32.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.33
/src/_DataStructures_/Queue/weave/index.js
1
const Queue = require('../index');
1✔
2

3
function weaveQueues(first, second) {
4
  const weaved = new Queue();
1✔
5

6
  while (first.peek() || second.peek()) {
1✔
7
    if (first.peek()) {
3✔
8
      weaved.enqueue(first.dequeue());
2✔
9
    }
10

11
    if (second.peek()) {
3!
12
      weaved.enqueue(second.dequeue());
3✔
13
    }
14
  }
15
  return weaved;
1✔
16
}
17

18
module.exports = {
1✔
19
  weaveQueues,
20
};
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