Skip to content

Commit cd08a00

Browse files
testouriihoucem
and
houcem
authored
chore: fix spelling typo (#65)
Co-authored-by: houcem <[email protected]>
1 parent 7cce60e commit cd08a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sorts/InsertionSort.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @param {number[]} num - The input array
55
* @return {number[]} - The sorted array.
66
* @see [Insertion Sort](https://www.freecodecamp.org/news/sorting-algorithms-explained-with-examples-in-python-java-and-c#insertion-sort)
7-
* @example BinaryConvert([8, 3, 5, 1, 4, 2]) = [1, 2, 3, 4, 5, 8]
7+
* @example insertionSort([8, 3, 5, 1, 4, 2]) = [1, 2, 3, 4, 5, 8]
88
*/
99

1010
export const insertionSort = (arr: number[]): number[] => {

0 commit comments

Comments
 (0)