Sparse matrix and its representation with example

Matrix is defined with a 2-dimensional array that has row and column. An array which has ‘m’ rows and ‘n’ columns represent an mXn matrix. Sometimes it happens when a matrix has zero values is more than NON-ZERO values. The matrix which has a greater number of zero values in comparison to the non-zero values … Read more

Column Major Order in Data Structure with Example

Column Major Order is a way to represent the multidimensional array in sequential memory. It has similar functionality as row-major order, but the way of process is different. In Column Major Order, elements of a multidimensional array are arranged sequentially column-wise which means filling all the index of the first column and then move to … Read more

Python Program to remove duplicates from Array

python program to Remove Duplicates From Array

In this tutorial, you will learn writing program for how to remove duplicates from an array Python. To remove duplicate elements from an array first we will count the occurrence of all elements. After finding occurrence we will print elements only one time and can get element after removing duplicates. Also Read This : Java … Read more

Python program to find duplicates in an Array

python program to Find Duplicates In An Array

In this tutorial, you will learn how to find duplicates number in an given array. After finding duplicates we will print the how many time that element has repeated. In this Program we will first count the occurrence of all the elements which is present in Array.  And then we will print only those elements … Read more

Python Program to find missing number in array

python program to Find Missing Number In Array

In this tutorial, you will learn writing a program using Python to find the missing number in integer array of 1 to 100.  This Program is not generic, It has some limitations like  Also Read This:  Java Program to find missing number in array.  Python Program to find missing number in array Output: