A Java library for people who want to implement some algorithms quickly.
-
SievePrimesAlgorithm
Find and Generate Prime numbers using Sieve's algorithm.
-
NumOccurencesOfCharacters
Find number of occurences of different/particular character(s) in a string.
-
Divisors
Find number of divisors of the number of your choice.
-
CheckPrime
Check if a number is prime or not, efficiently.
-
GetDivSquareSum
Get sum of squares of divisors of a number efficiently.
-
BinarySearch
Search result for a number in an array of integers.
-
MaxSubArraySum
Find the maximum continuous sub array sum in a given array.
-
FindMaxSubArrayProduct
Find the maximum continuous sub array product in a given array of fixed length and no length constraint.
-
Exponent
Calculate exponents of natural numbers.
-
FindPhrase
Find number of occurences of a smaller string in a bigger string
-
Find2DMatrixSum
Find sum of 2d matrix with long and int return types
Migrated to a maven project now, thanks to @sliard.
Algorithmics is under . See License for more info.
Do you want to contribute to Algorithmics? Awesome, there're not many rules but just a few things to consider before making a PR, just refer Contributing.MD
Refer Docs.md
Do you want to have a specific algorithm to be included? Convey your thoughts/algorithms by raising an issue
New additions will be on roll, keep a look out :)