not able to understand this algorithm
while part of this algo is little confusing
please share 1 0 or 2 more example
Insertion sort while part
hello @tddewan2
refer this example->
that while loop just looking for best posiiton for insertion of current value and during iteration it is shifting larger values to right