gautamkumar11 / King-Number

The “King Number” is a prime number that is the factor of the most numbers in a given list. Can you find the “King Number” in each list? For example, for the list {2, 3, 5, 6, 9, 14, 20}, the answer is 2, since it's a factor of 2, 6, 14 and 20, while 3 is only a factor of 3, 6 and 9.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gautamkumar11/King-Number Issues

No issues in this repository yet.