Sergio LopezinPython in Plain English6 Amazing Algorithms to Get the Square Root (and Any Root) of any Number in PythonA list of algorithms for finding the square root and the nth root of any real positive number.Nov 3, 2021Nov 3, 2021
Sergio LopezinPython in Plain EnglishThe Knight’s Tour: Where Chess, Programming, and Math MeetIn this article, we will explore one of the most famous and mysterious problems: The Knight’s Tour.May 19, 2021May 19, 2021
Sergio LopezinPython in Plain EnglishTowers of Hanoi in Python: Recursive Algorithm and AnimationThe Tower of Hanoi is an old puzzle. Yet, it continues to amaze us with its elegant solution, which is hidden by its simplicity.May 12, 2021May 12, 2021
Sergio LopezinPython in Plain English7 Ways to Code the Fibonacci Algorithm in PythonIn this article we are going to use this problem to explain and compare some algorithms that are different but can achieve the same task…May 7, 2021May 7, 2021
Sergio LopezinPython in Plain EnglishSolve the 8 Queens Problem in PythonBefore starting, let me clarify that this solution is neither the best of time complexity nor the most efficient. However, I found this…May 3, 20211May 3, 20211
Sergio LopezMinimize Sum: Geometry Problem with a clever solutionThe problem goes as follows. “Given a rectangle ABCD where AB=1 and BC=2, P, Q are on BD, BC respectively. Find the smallest possible…Apr 21, 2021Apr 21, 2021
Sergio LopezMean Inequalities are the opposite of mean and unequalInequalities are often seen as not useful, except for mathematical competitions. However, they do have some applications and the secrets…Apr 15, 2021Apr 15, 2021