* @param {number} indexOne * @param {number} indexTwo
(indexOne, indexTwo)
| 95 | * @param {number} indexTwo |
| 96 | */ |
| 97 | swap(indexOne, indexTwo) { |
| 98 | const tmp = this.heapContainer[indexTwo]; |
| 99 | this.heapContainer[indexTwo] = this.heapContainer[indexOne]; |
| 100 | this.heapContainer[indexOne] = tmp; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * @return {*} |
no outgoing calls
no test coverage detected