• 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

10.0
/src/_DataStructures_/LinkedList/reverse-linked-list/index.js
1
function reverseLinkedList(linkedList) {
2
  let current = linkedList.getFirst();
×
3
  let prev = null;
×
4
  let keeper = null;
×
5
  do {
×
6
    keeper = current.next;
×
7
    current.next = prev;
×
8
    prev = current;
×
9
    current = keeper;
×
10
  } while (current.next != null);
11

12
  return current;
×
13
}
14
module.exports = {
1✔
15
  reverseLinkedList,
16
};
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

© 2025 Coveralls, Inc