pathikrit / scalgos

algorithms in scala
434 stars 129 forks source link

Prime factors #13

Open pathikrit opened 7 years ago

pathikrit commented 7 years ago
// return Map of prime to count
def primeFactors(n: Int): Map[Int, Int]
pathikrit commented 7 years ago

See: http://codeforces.com/blog/entry/7262