Python Program to calculate the value of nPr

By Abinash Reddy

In this article, we will learn how to calculate the value of nPr in Python. Where nPr represented n permutation r. Permutation refers to the process of organizing all the individua.... Read More

Python program to check whether given array can form Arithmetic Progression

By Abinash Reddy

In this article, we will check whether given an array can form Arithmetic Progression in Python. Example Input: arr[] = {6, 4, 8, 2, 0} Output: Yes Explanation: Rearrange the given.... Read More

Find whether n! is divisible by sum of first n natural integers or not in C++

By Vikram singhal

Given an integer value n. Product of first n natural integers or n! (factorial of n )is denoted by P  and the sum of first n consecutive natural integers is denoted by S. If S is .... Read More

Check whether two strings are isomorphic to each other in Python

By Abinash Reddy

In this article, we will learn how to check whether the given two strings are isomorphic to each other in Python. Two strings are isomorphic if there is one-to-one mapping possible.... Read More

Implementation of Egyptian Fraction using Greedy Algorithm in C++

By Abinash Reddy

In this article, we will learn how to implement Egyptian Fraction using a Greedy Algorithm in C++. A positive fraction number can be represented as the sum of unique unit fractions.... Read More

Chess Board Using MatPlotLib Python

By Abinash Reddy

In this article, we will learn how to create a chessboard using Python. In this, for creating a chessboard we are going to use MatPlotLib and Numpy Python modules. Create a Chess B.... Read More

Lobb Number in C++

By Abinash Reddy

In this article, we will learn about Lobb Numbers and how to find Lobb Number of m,n in C++. What is Lobb Number? Lobb number (Lm,n) calculates the number of ways that n+m open par.... Read More

Find nth element of Stern’s Diatomic Series in C++

By Abinash Reddy

In this article, we will learn how to find the nth element of Stern’s Diatomic Series in C++. Stern’s Diatomic Series is a sequence 1, 1, 2, 1, 3, 2, 3, 1, 4, 3, 5 …. whi.... Read More