Largest Prime Factor Algorithm
Largest Prime Factor Algorithm: a task in Terminal-Lego-15k (Harbor dataset). Implement a program that calculates the largest prime factor of a given number. The program should efficiently find prime factors and return the largest one.
Part of PrimeIntellect/Terminal-Lego-15k.