Skip to content

A Java PrimeMap to map each element from an entered collection of objects to a unique prime number, together with a set of tools simplified by applying the Fundamental Theorem of Arithmetic.

Notifications You must be signed in to change notification settings

adibaejaz/PrimeMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeMap

A Java class that defines a PrimeMap object that maps each element from a collection of objects to a unique prime number.

Used in:

  • An Anagrams checker that checks if words entered in the CLI are anagrams in O(n) time using the Fundamental Theorem of Arithmetic: each number can be decomposed into a unique combination of prime factors.

About

A Java PrimeMap to map each element from an entered collection of objects to a unique prime number, together with a set of tools simplified by applying the Fundamental Theorem of Arithmetic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages