Skip to content
  • Sponsor TheAlgorithms/TypeScript

  • Notifications You must be signed in to change notification settings
  • Fork 414
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cd08a00

Browse files
testouriihoucem
and
houcem
authoredOct 20, 2022
chore: fix spelling typo (#65)
Co-authored-by: houcem <houcem.testouri@we-settle.com>
1 parent 7cce60e commit cd08a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Sorts/InsertionSort.ts

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.