HackerRank
HackerRank copied to clipboard
Update Solution
Instead of using a variable for the conversion of int to BigInteger, we can directly convert it while multiplying. Thus it reduces one line of code and a variable.