Nikhitha Chowdary Manne has Published 13 Articles

Python Program to Remove Duplicate Elements From an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 16-May-2023 09:42:50

375 Views

An array is a collection of elements of same data type, and each element in the array is identified by an index value. It is a simplest data structure where each data element can be accessed directly by only using its index number. Arrays in Python Python does not ... Read More

Python Program to Remove All Occurrences of an Element in an Array/List

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 09-May-2023 00:55:55

2K+ Views

An array is a collection of elements of homogeneous datatypes stored in contiguous memory locations. Python does not provide support for the built-in arrays. If you need to work with arrays you need to import the "array" module or, use the arrays in numpy library.We can use lists instead of ... Read More

Python Program to Rotate Elements of an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:42:00

631 Views

After the declaration of an array, the elements of the array until certain index are rotated such that the first elements until the desired index are placed in the last, next to the last element of the array. Let us discuss this with an Input output scenario. Input Output Scenario ... Read More

Python program to print an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:40:42

1K+ Views

The collection of homogenous elements within a single variable and in the contiguous memory location is known as array. The elements in array can be of any datatype but all the elements that are present in the array should be homogeneous, i.e., should belong to the same datatype. The arrays ... Read More

Python Program to Sort the 2D Array Across Columns

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:39:12

2K+ Views

When a two dimensional array or a 2D array is declared, it is treated like a matrix. So, we know that a matrix consists of rows and columns. The process of sorting the elements that belong to a particular column of a matrix either in ascending order or in descending ... Read More

Python Program to Search an element in an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:33:42

4K+ Views

In Python, there are mainly two searching algorithms that are majorly used. Out of those, the first one is Linear Search and the second one is Binary Search. These two techniques are majorly used in order to search an element from the given array or from the given list also. ... Read More

Python Program to Remove the first element from an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:32:20

2K+ Views

In order to remove the first element of the array, the index that must be considered is 0 as the index of the first element in any array is always 0. As like removing the last element from an array, removing the first element from the array can be processed ... Read More

Python program to print the Boundary elements of a Matrix

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 15:26:17

376 Views

Boundary Elements of a Matrix The elements that are not surrounded by any other elements that belong to the same matrix are known as Boundary elements. Using this phenomena, we can build a program. Let us consider an Input output scenario and then construct a program. Input Output Scenario Consider ... Read More

Python Program to Remove the last element from an Array

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 08-May-2023 13:28:59

3K+ Views

There are three different ways in order to delete or remove the element. Let us discuss some of those methods and keywords that are used to remove the last element from an array one after another in a row. Using Delete() Method of the Numpy Module This ... Read More

Python Program to Merge Two Arrays

Nikhitha Chowdary Manne

Nikhitha Chowdary Manne

Updated on 05-May-2023 16:55:23

13K+ Views

The process of combining the elements of the given arrays is known as merging. This operation can be done in many ways using many techniques. Let us discuss all techniques that help in merging the given arrays in Python. Before getting into the techniques, let us understand how merging of ... Read More

Advertisements