Skip to content

Tag Archives: Python-sort

Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put… Read More
Sometimes, while working with data records, we can have a problem in which we need to perform the sorting of nested keys of dictionary by… Read More
Sometimes, while working with Python dictionaries, we can have problem in which in which we need to perform sorting of items on bases of various… Read More
Sometimes while working with Python dictionary, we can have problem in which we need to perform a sort of list according to corresponding value in… Read More
Given a list, the task is to sort the list according to the column using the lambda approach. Examples: Input : array = [[1, 3,… Read More
Sometimes, while working with Python records we can have a problem that they may occur in name and number format in strings. These may be… Read More
Sometimes, while performing sorting in list, we have a problem in which we need to perform particular type of sorting in which we need to… Read More
Sometimes, while working with data, we can have a problem in which we need to perform sorting of each row of records by some of… Read More
Sometimes, while working with data records, we can have a problem in which we receive data in custom format, and we need to perform a… Read More
Sometimes, while working with data, we can have a problem in which we need to perform the sorting of rows of matrix in descending order.… Read More
MongoDB is a cross-platform document-oriented database program and the most popular NoSQL database program. The term NoSQL means non-relational. MongoDB stores the data in the… Read More
Reverse Sorting a list is easy task and has been dealt with in many situations. With Machine Learning and Data Science emerging, sometimes we can… Read More
Often during the problem solving we come across to many problems where we need to reverse sort the list. But sometimes we would also want… Read More
Sometimes, while working with Python, we can have a problem in which we need to perform the reverse sort operation in all the Strings that… Read More
The flattening of list of list has been discussed many times, but sometimes, in addition to flattening, it is also required to get the string… Read More