Category: recursive
October 22, 2012
algorithms, brute force, code, code library, implementation, interview questions, math, programming languages, python, recursive, tricks
Q: List and compare the methods to compute where a, b, n are positive integers. A: We have four methods. The first one is to naively compute the value …
The definition of Recursion can be simply found . Comment below if you understand the joke 🙂 –EOF (The Ultimate Computing & Technology Blog) — 47 words The Permanent …
github: https://github.com/DoctorLai/Algorithms/tree/master/Queen n Queen problem can be dated back in 1848. Later, it was popular used in computer algorithm books that teach data structure and algorithms. The problem is to …
September 14, 2012
algorithms, batch script, beginner, brute force, github, implementation, programming languages, recursive, tools / utilities, tricks
I have used a lot the Fibonacci numbers as an example to illustrate the programming concepts and ideas. Today, I still use this to revisit the concepts of programming …
In , the euclidean algorithms i.e. gcd and lcm are presented. Especially the gcd function, which computes the greatest common divisor, is fundamentally important in math and can be …