+ 1
Any binary sorting algorithm?
Hi, do you know any sorting algorithm that can sort binary numbers?
5 odpowiedzi
+ 1
yes
+ 1
#include <algorithms>
std::sort
+ 1
So the usual ones like bubblesort quicksort... Can also work with binary numbers?
0
if you know how to compare one binary number to another, then you should be able to make it work. that's all a sorter does is compare and place.