Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data_structures/heap/heap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export abstract class Heap<T> {
): boolean;

/**
* In a maxHeap the the index with the larger value in returned
* In a maxHeap the the index with the larger value in returned
* In a maxHeap the index with the larger value is returned
* In a minHeap the index with the smaller value is returned
*/
protected abstract getChildIndexToSwap(
leftChildIndex: number,
Expand Down