We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I am not good at explaining, this guy is using very basic method of multiplication that we learnt as kid and he is storing each digit of ans in separate box in reverse order. he is following this tactic i.e 22*4 can be written as 2*4 , 2*4 then storing them in different indexs of
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Extra Long Factorials
You are viewing a single comment's thread. Return to all comments →
I am not good at explaining, this guy is using very basic method of multiplication that we learnt as kid and he is storing each digit of ans in separate box in reverse order. he is following this tactic i.e 22*4 can be written as 2*4 , 2*4 then storing them in different indexs of