An Optimal Algorithm for Finding Frieze–Kannan Regular Partitions. (March 2015)