Skip to content

Commit bfe26a2

Browse files
committed
UPDATE README.md
1 parent 5d44e67 commit bfe26a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DataStructure/Trees/Sources/BinaryHeap.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ void binaryHeapDown(void **arr, int currentIndex, int length, int (*cmp)(const v
102102
return;
103103

104104
int fChildIndex = binaryHeapGetFChildIndex(currentIndex),
105-
sChildIndex = binaryHeapGetSChildIndex(currentIndex),
106-
target = currentIndex;
105+
sChildIndex = binaryHeapGetSChildIndex(currentIndex),
106+
target = currentIndex;
107107

108108
if (fChildIndex < length && cmp(arr[target], arr[fChildIndex]) < 0)
109109
target = fChildIndex;

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
**General overview:**
99

10-
![library C files](https://img.shields.io/badge/library%20files-175-%23607d8b.svg) ![total lines of code](https://img.shields.io/badge/total%20lines%20of%20code-31346-%232196f3.svg) ![total lines of comments](https://img.shields.io/badge/total%20lines%20of%20comments-6692-%232496f3.svg)
10+
![library C files](https://img.shields.io/badge/library%20files-175-%23607d8b.svg) ![total lines of code](https://img.shields.io/badge/total%20lines%20of%20code-31339-%232196f3.svg) ![total lines of comments](https://img.shields.io/badge/total%20lines%20of%20comments-6692-%232496f3.svg)
1111
![implemented data structures](https://img.shields.io/badge/implemented%20data%20structures-+28-%232496f3.svg) ![implemented algorithms](https://img.shields.io/badge/implemented%20algorithms-+100-%232496f3.svg)
1212

1313
## Implemented Data Structures

0 commit comments

Comments
 (0)