## Python Set | Check whether a given string is Heterogram or not

Given a string S of lower case characters. The task is to check whether a the given string is Heterogram or not. A heterogram is… Read More »

## Python | Maximum and Minimum in a Set

In this article, we will learn how to get the maximum and minimum element in a set in Python, using the built-in functions of Python.… Read More »

## Python | Remove items from Set

In this article, we will try to a way in which the elements can be removed from the set in a sequential manner. Before going… Read More »

## Python Set difference to find lost element from a duplicated array

Given two arrays which are duplicates of each other except one element, that is one element from one of the array is missing, we need… Read More »

## Python | Minimum number of subsets with distinct elements using Counter

You are given an array of n-element. You have to make subsets from the array such that no subset contain duplicate elements. Find out minimum… Read More »

## Python | Check if two lists have at-least one element common

Given two lists a, b. Check if two lists have at least one element common in them. Examples: Input : a = [1, 2, 3,… Read More »

## Python program to count number of vowels using sets in given string

Given a string, count the number of vowels present in given string using Sets. Prerequisite: Sets in Python Examples: Input : GeeksforGeeks Output : No.… Read More »

## Python | Difference between two lists

There are various ways in which difference between two lists can be generated. In this article, we will see two most important ways in which… Read More »

## Python set to check if string is panagram

Given a string, check if the given string is pangram or not. Examples: Input : The quick brown fox jumps over the lazy dog Output… Read More »

## Python set operations (union, intersection, difference and symmetric difference)

This article demonstrates different operations on Python sets. Examples: Input : A = {0, 2, 4, 6, 8} B = {1, 2, 3, 4, 5}… Read More »

## Concatenated string with uncommon characters in Python

Two strings are given and you have to modify 1st string such that all the common characters of the 2nd strings have to be removed… Read More »

## Python dictionary, set and counter to check if frequencies can become same

Given a string which contains lower alphabetic characters, we need to remove at most one character from this string in such a way that frequency… Read More »

## Using Set() in Python Pangram Checking

Given a string check if it is Pangram or not. A pangram is a sentence containing every letter in the English Alphabet. Lowercase and Uppercase… Read More »

## Set update() in Python to do union of n arrays

We are given n arrays of any size which may have common elements, we need to combine all these arrays in such a way that… Read More »

## Sets in Python

A Set is an unordered collection data type that is iterable, mutable and has no duplicate elements. Python’s set class represents the mathematical notion of… Read More »