Integrate codecov.

This commit is contained in:
Oleksii Trekhleb
2018-04-04 07:39:42 +03:00
parent 7655accd66
commit c79dfac2c5
2 changed files with 31 additions and 0 deletions

View File

@@ -126,6 +126,8 @@ export default class MinHeap {
return 0;
}
// Min heap may be converted to max heap by simply changing this line to:
// a > b ? -1 : 1
return a < b ? -1 : 1;
}