Microsoft Interview Question

Given a char array which contains only 4 kinds of characters (a, b, c, d), use a sorting algorithm to sort that array.

Interview Answer

Anonymous

Nov 14, 2017

counting sort