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
Javascript Program For Chocolate Distribution Problem
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are m students, ...
Read More
Arrays
Flipkart
subset
Sorting
Web Technologies
JavaScript
DSA
Php Program For Chocolate Distribution Problem
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are m students, ...
Read More
Arrays
Flipkart
subset
Sorting
Web Technologies
PHP Programs
DSA
Python Program For Chocolate Distribution Problem
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are m students, ...
Read More
Arrays
Flipkart
subset
Sorting
Python Programs
DSA
Java Program For Chocolate Distribution Problem
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are m students, ...
Read More
Arrays
Flipkart
subset
Sorting
Java Programs
DSA
C++ Program For Chocolate Distribution Problem
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are m students, ...
Read More
Arrays
Flipkart
subset
Sorting
C++ Programs
DSA
C Program For Detecting Loop In A Linked List
Given a linked list, check if the linked list has loop or not. Below diagram shows a linked list with a loop.Solution: Floyd's Cycle-Finding AlgorithmApproach: This is the...
Read More
Linked List
Linked Lists
loop
Amazon
Samsung
Accolite
MAQ Software
C++
C Programs
Tortoise-Hare-Approach
DSA
C++ Program For Detecting Loop In A Linked List
Given a linked list, check if the linked list has loop or not. Below diagram shows a linked list with a loop.The following are different ways of doing this.Solution 1: Has...
Read More
Linked List
Linked Lists
loop
Amazon
Samsung
Accolite
MAQ Software
C++
C++ Programs
Tortoise-Hare-Approach
DSA
Top 7 Real-Time Data Streaming Tools
Data Streaming is all about communication between a sender and receiver via a single data stream or multiple data streams. And it is obvious to question, "What exactly is ...
Read More
GBlog
Listicles
Find the Nth number in the merged and sorted lists of given ranges
Given two integer array, L and R and an integer N. Each range from the given array denote that every number in the range [L[i], R[i]] is present. The task is to calculate ...
Read More
Greedy
Sorting
DSA
Add Confidence Band to ggplot2 Plot in R
In this article, we will discuss how to add Add Confidence Band to ggplot2 Plot in the R programming Language.A confidence band is the lines on a scatter plot or fitted li...
Read More
Picked
R Language
R-ggplot
Combine three arrays with the given conditions in R
In this article, we will discuss how to combine three arrays with the given condition in R Programming Language. Let's take a condition such that the first row of the firs...
Read More
Picked
R Language
R-Arrays
R Programs
R Array-Programs
How to Make Grouped Boxplots with ggplot2 in R?
In this article, we will discuss how to make a grouped boxplot in the R Programming Language using the ggplot2 package.Boxplot helps us to visualize the distribution of qu...
Read More
Picked
R Language
R-ggplot
Plot lines from a list of dataframes using ggplot2 in R
In this article, we will discuss how to plotlines in ggplot2 from a list of data frames in the R programming language.The ggplot2 package is used to visualize and analyze ...
Read More
Picked
R Language
R-ggplot
Python3 Program to Find if there is a subarray with 0 sum
Given an array of positive and negative numbers, find if there is a subarray (of size at-least one) with 0 sum.Examples : Input: {4, 2, -3, 1, 6}Output: true Explanation:T...
Read More
Paytm
MakeMyTrip
Hash
Python
STL
subarray
prefix-sum
cpp-unordered_set
subarray-sum
DSA
Java Program to Find if there is a subarray with 0 sum
Given an array of positive and negative numbers, find if there is a subarray (of size at-least one) with 0 sum.Examples : Input: {4, 2, -3, 1, 6}Output: true Explanation:T...
Read More
Java
Paytm
MakeMyTrip
Hash
STL
subarray
prefix-sum
Java Programs
cpp-unordered_set
subarray-sum
DSA
1
...
5050
5051
5052
...
11202