Sorting algorithms/Insertion sort: Difference between revisions
Content added Content deleted
Line 30: | Line 30: | ||
=={{header|D}}== |
=={{header|D}}== |
||
import std.stdio; |
import std.stdio: writefln; |
||
void insertionSort(T)(T[] A) { |
void insertionSort(T)(T[] A) { |