reiver/go-mjrty
Go library that implements the MJRTY algorithm for finding the majority in a sequence in a single pass, in O(n) time and O(1) space -- in linear time complexity and constant space complexity.
正在读取项目信息…
Go library that implements the MJRTY algorithm for finding the majority in a sequence in a single pass, in O(n) time and O(1) space -- in linear time complexity and constant space complexity.