C Program for Tower of Hanoi – Mathematical Algorithms – Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective is to.
Mathematical Algorithms
C Programming – Count all possible groups – Mathematical Algorithms – Given an unsorted integer positive values only array of size ‘n’, we can form a group
Python Programming -To check if a given number is Fibonacci number – Mathematical Algorithms – A simple way is to generate Fibonacci numbers
C++ Programming -To check if a given number is Fibonacci number – A simple way is to generate Fibonacci numbers until the generated number is greater
C Programming – Random number generator in arbitrary probability distribution fashion – Mathematical Algorithms – Given n numbers, each with some frequency.
Java Programming – Print all possible combinations of r elements in a given array of size n – Mathematical Algorithms – Given an array of size n and r is 2.
C++ Programming – Print all possible combinations of r elements in a given array of size n – Mathematical Algorithms – Given an array of size n, and r is 2.
C Programming Efficient program to calculate e^x – Mathematical Algorithms – The value of Exponential Function e^x can be expressed using Taylor Series.
C Programming – Check divisibility by 7 – Mathematical Algorithms – Divisibility by 7 can be checked by a recursive method. A number of the form 10a + b.
C Programming – Given a number, find the next smallest palindrome – Mathematical Algorithms – For example, if the input number is “2 3 5 4 5”.