Python Program to find LCM of two numbers

By Rohith Immadisetty

In this tutorial, we will be going over the simplest yet more efficient program to find the LCM of 2 numbers in Python programming. LCM stands for least Common Multiple. Knowledge .... Read More

How to swap both diagonals of a matrix in C++

By Alok Singh

In this tutorial, we will learn how to swap boh the diagonals of a matrix in C++ with an example, algorithm. The square matrix has two diagonals. one, which starts from the top-lef.... Read More

Various access specifiers in Java with examples

By Naga jyothi

Hello everyone! learn how to use different access specifiers in java with suitable examples. What are the access specifiers? So access specifiers are keywords which allow access to.... Read More

How to find transpose of a matrix in C++

By Alok Singh

In this tutorial, we will learn how to find the transpose of a matrix in C++ and will understand the logic behind the program. Transpose of a matrix is a manipulation of a matrix s.... Read More

How to check the given matrix is magic square or not in C++

By Alok Singh

Hello, In this tutorial, we will learn how to check, whether a given matrix is a magic square matrix or not, with the algorithm and a C++ program. A magic square matrix is a square.... Read More

To check whether a given matrix is Symmetric or not in Java

By Naga jyothi

Hello everyone! here we will learn about how to check whether a given matrix is symmetric or not in Java. In order to check for the matrix to be symmetric, it should satisfy two co.... Read More

Python for loop decrementing index

By Veda Charitha

In this tutorial, let’s look at for loop of decrementing index in Python. A for loop in python is used to iterate over elements of a sequence. It is mostly used when a code h.... Read More

How to perform Depth First Search in Java?

By Tanisha Saxena

In this tutorial, we will learn how to perform Depth First Search or DFS on a graph in java. There are two ways to traverse a graph: Breadth first search Depth first search DFS .... Read More

Related Posts