Algorithms to Compute the Fibonacci String Sequence November 12, 2020 algorithms, c / c++, math, recursive, string No Comments Given strings s0, s1 and a positive integer n, return the nth term of the sequence A where: A = s0 A = s1 A = A + A … [Continue Reading...]
Dynamic Programming (Memoization) to Sort Integers by The Power Value March 22, 2020 algorithms, c / c++, dynamic programming, programming languages No Comments The power of an integer x is defined as the number of steps needed to transform x into 1 using the following steps: if x is even then x … [Continue Reading...]