thank you for the comment. We are still in the #beginner section here and I would like to breakdown the basic most common algorithms first.
However, thank you for the suggestion, I will take note and maybe do the breakdown of more advanced factorial solution later.
If you feel like solving more advanced factorial (in JS?) take a look at this HackerRank challenge.
Also, thank you for sharing the real-life experience, always good to know what can one expect on an interview.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.