## Python | Solve given list containing numbers and arithmetic operators

Given a list containing numbers and arithmetic operators, the task is to solve the list. Example: Input: lst = [2, ‘+’, 22, ‘+’, 55, ‘+’,… Read More »

## Python | Column summation of tuples

Sometimes, we encounter a problem where we deal with a complex type of matrix column summation in which we are given a tuple and we… Read More »

## Python | Alternate range slicing in list

List slicing is quite common utility in Python, one can easily slice certain elements from a list, but sometimes, we need to perform that task… Read More »

## Python | Element Occurrence in dictionary of list values

Sometimes we can have a task in which we are required to count the occurrences of test elements in list or winning numbers, against the… Read More »

## Python | Joining only adjacent words in list

Sometimes, more than one type of data can come in Python list and sometimes it’s undesirably tokenized and hence we require to join the words… Read More »

## Python | Find indices with None values in given list

Many times while working in data science domain we need to get the list of all the indices which are None, so that they can… Read More »

## Python | Sort Flatten list of list

The flattening of list of lists has been discussed earlier, but sometimes, in addition to flattening, it is also required to get the string in… Read More »

## Python | Check if a list exists in given list of lists

Given a list of lists, the task is to check if a list exists in given list of lists. Input : lst = [[1, 1,… Read More »

## Python | Maximum absolute difference list of list

This particular article focuses on a problem that has utility in competitive as well as day-day programming. Sometimes, we need to get the maximum difference… Read More »

## Python | Matrix creation of n*n

Many times while working with numbers in data science we come across the problem in which we need to work with data science we need… Read More »

## Python | Merging duplicates to list of list

Sometimes, we need to perform the conventional task of grouping some like elements to a separate list and thus forming a list of list. This… Read More »

## Python | Increasing alternate element pattern in list

This particular article solves a very specific issue in which we need to insert every alternate element as the increased size pattern of repeated element… Read More »

## Python | Convert list of tuples to list of list

This is a quite simple problem but can have a good amount of application due to certain constraints of python language. Because tuples are immutable,… Read More »

## Python | Check if a nested list is a subset of another nested list

Given two lists list1 and list2, check if list2 is a subset of list1 and return True or False accordingly. Examples: Input : list1 =… Read More »

## Python | Indexing a sublist

In Python, we have several ways to perform the indexing in list, but sometimes, we have more than just an element to index, the real… Read More »