Problem Over the weekend I was curious about efficiently merging multiple sorted iterators together, and for them to be in […]

# Tag: sorting

## Sorting a file with three-line blocks by the second word of the first line in each block

Problem I have a text file with the following three line pattern with blank lines in between. My script sorts […]

## Binary Radix Sort implementation on linked list

Problem I am trying to implement binary radix sort in C which sorts a linked list of integers stably. Although […]

## F# Insertion sort

Problem I made a simple insertion sort in F#, it uses a tail recursive shift function that attempts to shift […]

## Bubble sort in Ruby

Problem For practice, I tried implementing Bubble sort in Ruby. I wasn’t very sure how nested for loops would look […]

## Comb sort in Java

Problem Comb sort may be thought of as a generalization of bubble sort. The following is my implementation: package net.coderodde.util.sorting; […]

## Selection sort algorithm in x86_64 Yasm assembler

Problem I returned to study assembly language. And this is actually my first function written in Yasm. Implementing this function […]

## How to sort and search in JavaScript large set

Problem The array “scores” tells the total points for each person involved in a contest. So for example: User A: […]

## C# Quicksort Assignment

Problem For my CS minor I was assigned to implement the Quicksort algorithm in C#. I gave it a go […]

## Six different, concise (and hopefuly readable), sorting algorithms using ES6+ idioms, with some basic unit testing

Problem I’m practicing js, unit testing, and algorithms, so implementing some of the common sorting algorithms and doing some basic […]