Cast elements to const(char).
Find an optimal solution using backtracking.
Create chains of items linked by areChainable. This similar to sliceBy but areChainable does not have to be an equivalence relation.
Returns array filtered in-place.
Get the first element in range assuming it to be non-empty.
Get the last element in range assuming it to be non-empty.
Replaces the first occurrence of needle by replacement in array if present. Modifies array.
Slices an input array into slices of equivalent adjacent elements. In other languages this is often called partitionBy, groupBy or sliceWhen.
Return the prefix of haystack where pred is not satisfied.
Returns array uniqified in-place.
Some additional alogorithm functions.