Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
Python - Convert list of dictionaries to Dictionary Value list
Given a list of dictionary, convert to dictionary with same key mapped with all values in as value list.Input : test_list = [{"Gfg" : 6, "is" : 9, "best" : 10}, {"Gfg" : 8...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Extract Kth index elements from Dictionary Value list
Given a dictionary with list as values, extract all the Kth index elements.Input : {"Gfg" : [4, 7, 5], "Best" : [8, 6, 7], "is" : [9, 3, 8]}, K = 2Output : [5, 7, 8]Explan...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Test for Empty Dictionary Value List
Given a dictionary with list as values, check if all lists are empty.Input : {"Gfg" : [], "Best" : []}Output : TrueExplanation : Both lists have no elements, hence True.In...
Read More
Python
Python Programs
Python dictionary-programs
Get the items which are not common of two Pandas series
Pandas does not support specific methods to perform set operations. However, we can use the following formula to get unique items from both the sets :[Tex]A \cup B - (A \...
Read More
Python
Python-pandas
Python pandas-series
Calling a Super Class Constructor in Python
Classes are like creating a blueprint for an object. If we want to build a building then we must have the blueprint for that, like how many rooms will be there, its dimens...
Read More
Python
Picked
Package Management in Julia
Package in Julia is a project which provides reusable functionality that can be used by other Julia projects via import X or using X. Julia uses Git as a repository for it...
Read More
Picked
Julia
Julia-packages
Python - Group concatenate Till K
Given list of strings, perform concatenation in groups till K.Input : test_list = ["Gfg", "is", "Best", "", "I", "Love", "", "Gfg"], K = ""Output : ['Gfg is Best', 'I Love...
Read More
Python
Python Programs
Python list-programs
Python string-programs
Python - Sort on basis of reverse Strings
Given a String list, sort list on basis of reverse of strings.Input : test_list = ["gfg", "is", "best", "geeks"] Output : ['gfg', 'is', 'geeks', 'best'] Explanation : g i...
Read More
Python
Python Programs
Python list-programs
Python - Remove digits from Dictionary String Values List
Given list of dictionaries with string list values, remove all the numerics from all strings.Input: test_dict = {'Gfg' : ["G4G is Best 4", "4 ALL geeks"], ...
Read More
Python
Python Programs
Python dictionary-programs
Python string-programs
Python - Test if element is part of dictionary
Given a dictionary, test if K is part of keys or values of dictionary.Input : test_dict = {"Gfg" : 1, "is" : 3, "Best" : 2}, K = "Best"Output : TrueExplanation : "Best" is...
Read More
Python
Python Programs
Python dictionary-programs
Python - Convert List to key-value list by prefix grouping
Given a list, convert it to consecutive key-value lists, grouping by a prefix.Input : test_list = ["GFG-1", 4, 6, "GFG-2", 3, "GFG-3", 9, 2], temp = "GF"Output : {'GFG-1':...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - List of dictionaries all values Summation
Given a list of dictionaries, extract all the values summation.Input : test_list = [{"Apple" : 2, "Mango" : 2, "Grapes" : 2}, {"Apple" : 2, "Mango" : 2, "Grapes" : 2}]Outp...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Flatten Dictionary with List
Given a list and dictionary, flatten dictionary with keys and values at position of available element of key in list.Input : test_list = ["Gfg", "is", "Best", "For", "Geek...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Common list elements and dictionary values
Given list and dictionary, extract common elements of List and Dictionary Values.Input : test_list = ["Gfg", "is", "Best", "For"], subs_dict = {4 : "Gfg", 8 : "Geeks", 9 :...
Read More
Python
Python Programs
Python list-programs
Python dictionary-programs
Python - Reverse Range in String List
Given a string list, reverse each element of string list from ith to jth index.Input : test_list = ["Geeksforgeeks", "Best", "Geeks"], i, j = 1, 2 Output : ['ee', 'es', 'e...
Read More
Python
Python Programs
Python list-programs
Python string-programs
1
...
7449
7450
7451
...
11251