Posts by Priyam Sur

Matrix Rotation Clockwise by shifting one element at a time in Python 3

By Priyam Sur

Matrix Rotation Clockwise is the rotation of a given matrix in the clockwise direction. Here, in this method, the elements of the matrix are shifted by one place in order to achiev.... Read More

How to Extract Matrix Elements in the Spiral Form in Python3?

By Priyam Sur

CLOCKWISE SPIRAL FORM EXTRACTION OF MATRIX ELEMENTS Clockwise Spiral Form can be best described as: Let’s consider a matrix of m x n dimension, where m isĀ the number of rows.... Read More

Array Sorting: How to sort an array of integers in Python3?

By Priyam Sur

ARRAY SORTING in Python Array sorting can be of two types: Ascending Order Sorting: The arrangement of elements of the array is from smallest to largest number. Descending Order So.... Read More

Compound/Simple Interest Calculation using Python3

By Priyam Sur

COMPOUND/SIMPLE INTEREST CALCULATION in Python Compound/Simple interest calculation: The user inputs the Principle Value. Then, he/she inputs the rate of interest in percentage. In.... Read More

Duplicate Elements Removal of an Array or List using Python 3.6

By Priyam Sur

Duplicate Elements Removal of an Array in Python Duplicate Elements Removal: The user inputs integer elements of an array randomly i.e., without counting. The program should output.... Read More

Clockwise & CounterClockwise Rotation of Matrix using Numpy in Python3

By Priyam Sur

In this Python tutorial, we will learn clockwise and counterclockwise rotation of matrix using Numpy library. We are providing an easy example for a better understanding. Clockwise.... Read More

Username Validation using Java as per Client’s Requirement

By Priyam Sur

In this Java post, we will learn how to validate usernameĀ in Java. For making it easy we have provided an easy example of username validation using Java. USERNAME VALIDATION USING.... Read More

Lexicographical Smallest & Largest Substring of a given Length in JAVA

By Priyam Sur

Before we understand lexicographically ordered substring in Java, we must understand their definitions. In this Java post, we will learn all about these. Lexicographically Ordered .... Read More