This is a question that Amazon may ask you during your initial phone screening.
Here is a link to the problem as well as a link to the functions I used to solve this problem.
Python for Loop: https://www.programiz.com/python-prog...
Python Variables, Constants and Literals:https://www.programiz.com/python-prog...
Python if...else Statement:https://www.programiz.com/python-prog...
DISCORD CHANNEL ----------------------------------------------------------------------------------------------------------------
To join the Discord channel use the following link below:
/ discord
We have a community of individuals who are working on daily Leetcode problems. We have all levels of experiences so please feel free to join whether a novice or expert we are in this together!
#leetcode #programming #softwareengineering #pythonprogramming