Leetcode Design Hashmap Python Code For Factorial Of A Number