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
Matrix Multiplication With 1 MapReduce Step
MapReduce is a technique in which a huge program is subdivided into small tasks and run parallelly to make computation faster, save time, and mostly used in distributed sy...
Read More
Hadoop
Find the length of a set in Python
In Python, a Set is a collection data type that is unordered and mutable. A set cannot have duplicate elements. Here, the task is to find out the number of elements presen...
Read More
Python
Python Programs
python-set
Minimum of two numbers in Python
Given two numbers, write a Python code to find the Minimum of these two numbers. Examples:Input: a = 2, b = 4Output: 2Input: a = -1, b = -4Output: -4Method #1: This is the...
Read More
Python
Python Programs
Python list-programs
Find Maximum of two numbers in Python
Given two numbers, write a Python code to find the Maximum of these two numbers.Examples:Input: a = 2, b = 4Output: 4Input: a = -1, b = -4Output: -1Find Maximum of two num...
Read More
Python
Python list-programs
Check whether a number can be represented by the product of two squares
Given an integer n, our task is to check whether number n can be represented by the product of two squares. If it is possible then print "yes" otherwise print "no".Example...
Read More
Mathematical
DSA
How to Compare Equality of Struct, Slice and Map in Golang?
In Golang, reflect.DeepEqual function is used to compare the equality of struct, slice, and map in Golang. It is used to check if two elements are "deeply equal" or not. D...
Read More
Picked
Go Language
Golang-Slices
Golang-Program
ring.Link() Function in Golang With Examples
ring.Link() function in Golang is used to connect two ring r and ring s ring.next() function connect last node of ring r to first node of ring s .so that for r.next() must...
Read More
Go Language
Find the value mapped to a given composite key for every query
Given three arrays firstkey[], secondkey[] and value[] where elements firstkey[i] and secondkey[i] denotes a composite key and their value is value[i], the task is to answ...
Read More
Arrays
Hash
Competitive Programming
DSA
PostgreSQL - Alias
The PostgreSQL Alias is used to assign a temporary name to a table or a column in a query. They only exist at the time of the query execution.For the sake of this article ...
Read More
PostgreSQL
postgreSQL-managing-table
Print any pair of integers with sum of GCD and LCM equals to N
Given an integer N, the task is to print any pair of integers that have the sum of GCD and LCM equal to N.Examples:Input: N = 14Output: 1, 13Explanation:For the given pair...
Read More
Mathematical
GCD-LCM
DSA
Count Possible Decodings of a given Digit Sequence in O(N) time and Constant Auxiliary space
Given a digit sequence S, the task is to find the number of possible decodings of the given digit sequence where 1 represents 'A', 2 represents 'B' ... and so on up to 26,...
Read More
Dynamic Programming
DSA
How to Access All Users in Linux Using Different Commands?
Linux allows multiple users with their own custom setting and configuration to work together on the same system, even at the same time. It can even allow a particular user...
Read More
TechTips
linux-command
Linux-Unix
Picked
Swap the vowels in the linked list representation of a string
Given the linked list representation of a string, the task is to swap every subsequent pair of vowels in it to produce the resultant linked list.Examples:Input: List = g -...
Read More
Linked List
DSA
Find the string formed by joining k consecutive nodes of linked list
Given an integer K and a linked list in which each node stores a single character. The task is to join every K consecutive nodes of the linked list to form a single word. ...
Read More
Linked List
Linked Lists
Amazon
Data Structures
DSA
Length of Longest Perfect number Subsequence in an Array
Given an array arr[] containing non-negative integers of length N, the task is to print the length of the longest subsequence of the Perfect number in the array.A number i...
Read More
Arrays
Algorithms
Competitive Programming
subsequence
Numbers
DSA
1
...
8108
8109
8110
...
11222