Skip to content

Commit 7a65a5a

Browse files
Update lessons/insertion.md
Co-authored-by: Utkarsh Mishra <76392681+Utkarsh1504@users.noreply.github.com>
1 parent 2ef8012 commit 7a65a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lessons/insertion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: "learn Sorting algorithms"
77
---
88
Insertion sort is the sorting mechanism where the sorted array is built having one item at a time. The array elements are compared with each other sequentially and then arranged simultaneously in some particular order.
99

10-
### Explanation
10+
## Explanation
1111

1212
the first element of array forms the sorted subarray while the rest create the unsorted subarray from which we choose an element one by one and "insert" the same in the sorted subarray. The same procedure is followed until we reach the end of the array.
1313

0 commit comments

Comments
 (0)