Poll of the Day!
What goes well with the error in your code? Do let us know 😆
What goes well with the error in your code? Do let us know 😆
Anonymous Poll
22%
Coffee ☕
7%
Maggie🍝
31%
A power nap 💤
5%
A trip 🛵
35%
Jo hoga, dekha jaega 😝
"Problem of the Day"
Solve this question to get points
In a city water tanks are connected by pipeline(As a tree). Since people working at the city corporation are lazy they usually select one of the tank and pour complete amount of water into it, when the tank is filled, the excess water evenly flows to the connected tanks.
Full Problem: https://bit.ly/3NmrOKK
Solve this question to get points
In a city water tanks are connected by pipeline(As a tree). Since people working at the city corporation are lazy they usually select one of the tank and pour complete amount of water into it, when the tank is filled, the excess water evenly flows to the connected tanks.
Full Problem: https://bit.ly/3NmrOKK
practice.geeksforgeeks.org
Fill the Tank | Practice | GeeksforGeeks
In a city water tanks are connected by pipeline(As a tree). Since people working at the city corporation are lazy they usually select one of the tank and pour complete amount of water into it, when the tank is filled, the excess water evenly flows to
Your weekly self-evaluation with the "Android App Development" quiz. ✅
Solve the MCQs to learn and win. You can submit your entry by 26th June, 11:59 PM IST.
Hurry and Participate Now: https://forms.gle/M4cCUHGnAiohEPzK8
Solve the MCQs to learn and win. You can submit your entry by 26th June, 11:59 PM IST.
Hurry and Participate Now: https://forms.gle/M4cCUHGnAiohEPzK8
"Problem of the Day"
Solve this question to get points
Given an array arr[] of n integers. Count the total number of sub-array having total distinct elements same as that of total distinct elements of the original array.
Full Problem: https://bit.ly/3a0eIF8
Solve this question to get points
Given an array arr[] of n integers. Count the total number of sub-array having total distinct elements same as that of total distinct elements of the original array.
Full Problem: https://bit.ly/3a0eIF8
practice.geeksforgeeks.org
Equivalent Sub-Arrays | Practice | GeeksforGeeks
Given an array arr[] of n integers. Count the total number of sub-array having total distinct elements same as that of total distinct elements of the original array.
Example 1:
Input:
N=5
arr[] = {2, 1, 3, 2, 3}
Output: 5
Expla
Example 1:
Input:
N=5
arr[] = {2, 1, 3, 2, 3}
Output: 5
Expla
"Problem of the Day"
Solve this question to get points
Given a number N, complete the following tasks,
Task 1. Generate a new number from N by changing the zeroes in the binary representation of N to 1.
Full Problem: https://practice.geeksforgeeks.org/problems/change-bits1538/1
Solve this question to get points
Given a number N, complete the following tasks,
Task 1. Generate a new number from N by changing the zeroes in the binary representation of N to 1.
Full Problem: https://practice.geeksforgeeks.org/problems/change-bits1538/1
practice.geeksforgeeks.org
Change Bits | Practice | GeeksforGeeks
Given a number N, complete the following tasks,
Task 1. Generate a new number from N by changing the zeroes in the binary representation of N to 1.
Task 2. Find the difference between N and the newly generat
Task 1. Generate a new number from N by changing the zeroes in the binary representation of N to 1.
Task 2. Find the difference between N and the newly generat
"Problem of the Day"
Solve this question to get points
Given an array A[] of N positive integers and two positive integers K1 and K2. Find the sum of all elements between K1th and K2th smallest elements of the array.
Full Problem: https://bit.ly/3Oq46OU
Solve this question to get points
Given an array A[] of N positive integers and two positive integers K1 and K2. Find the sum of all elements between K1th and K2th smallest elements of the array.
Full Problem: https://bit.ly/3Oq46OU
practice.geeksforgeeks.org
Sum of elements between k1'th and k2'th smallest elements | Practice | GeeksforGeeks
Given an array A[] of N positive integers and two positive integers K1 and K2. Find the sum of all elements between K1th and K2th smallest elements of the array. It may be assumed that (1 <= k1 < k2 <= n).
E
E
👍1
In computing, memoization is used to speed up computer programs by eliminating the repetitive computation of results, and by avoiding repeated calls to functions that process the same input.
With this article, we have tried to provide you with a complete tutorial on memoization. So, let's get started.
Read more here: https://bit.ly/3ONFVJY
With this article, we have tried to provide you with a complete tutorial on memoization. So, let's get started.
Read more here: https://bit.ly/3ONFVJY
"Problem of the Day"
Solve this question to get points
Given an positive integer N and a list of N integers A[]. Each element in the array denotes the maximum length of jump you can cover.
Full Problem: https://bit.ly/3ypaUH5
Solve this question to get points
Given an positive integer N and a list of N integers A[]. Each element in the array denotes the maximum length of jump you can cover.
Full Problem: https://bit.ly/3ypaUH5
practice.geeksforgeeks.org
Jump Game | Practice | GeeksforGeeks
Given an positive integer N and a list of N integers A[]. Each element in the array denotes the maximum length of jump you can cover. Find out if you can make it to the last index if you start at the first index of the list.
Example 1:
Input:
N =
Example 1:
Input:
N =
👍1
Attention Geeks,🤓
We are now on Reddit. 😍
Join this subreddit for Geeks from all across the globe! Let's learn and have fun together.
Waiting for you all there. 😇
Join Now: https://www.reddit.com/r/Geeks_For_Geeks?utm_medium=android_app&utm_source=share
We are now on Reddit. 😍
Join this subreddit for Geeks from all across the globe! Let's learn and have fun together.
Waiting for you all there. 😇
Join Now: https://www.reddit.com/r/Geeks_For_Geeks?utm_medium=android_app&utm_source=share
👍1
"Problem of the Day"
Solve this question to get points
Given a value N. In how many ways you can construct a grid of size N x 4 using tiles of size 1 x 4.
Full Problem: https://bit.ly/39Z7f9G
Solve this question to get points
Given a value N. In how many ways you can construct a grid of size N x 4 using tiles of size 1 x 4.
Full Problem: https://bit.ly/39Z7f9G
practice.geeksforgeeks.org
Number of ways | Practice | GeeksforGeeks
Given a value N. In how many ways you can construct a grid of size N x 4 using tiles of size 1 x 4.
Example 1:
Input: N = 1
Output: 1
Explaination: There is only one way.
Example 2:
Input: N = 4
Output: 2
Explaination: Th
Example 1:
Input: N = 1
Output: 1
Explaination: There is only one way.
Example 2:
Input: N = 4
Output: 2
Explaination: Th
This media is not supported in your browser
VIEW IN TELEGRAM
Aap bhi tyaari shuru kardo....
Geek-O-lympics 2022 coming to your computer screens on 1st July.
Stay Tuned!!
Geek-O-lympics 2022 coming to your computer screens on 1st July.
Stay Tuned!!
"Problem of the Day"
Solve this question to get points
Given an equation of the form f(n) = f(n-1) + f(n-2) where f(0) = 1, F(1) = 1 , the task is to find the nth term of this sequence.
Full Problem: https://bit.ly/3a9lt7R
Solve this question to get points
Given an equation of the form f(n) = f(n-1) + f(n-2) where f(0) = 1, F(1) = 1 , the task is to find the nth term of this sequence.
Full Problem: https://bit.ly/3a9lt7R
practice.geeksforgeeks.org
Matrix Exponentiation | Practice | GeeksforGeeks
Given an equation of the form f(n) = f(n-1) + f(n-2) where f(0) = 1, F(1) = 1 , the task is to find the nth term of this sequence.
Example 1:
Input: n = 3
Output: 3
Explanation: f(3) = f(2) + f(1) = 3
Example 2:
Example 1:
Input: n = 3
Output: 3
Explanation: f(3) = f(2) + f(1) = 3
Example 2:
👍1
Media is too big
VIEW IN TELEGRAM
Roll up your sleeves, Geeks! 🤓
Coz, this month is gonna be too much fun...
Geek-O-Lympics is NOW LIVE. 🔴
Click here to enjoy the thrilling fun: https://www.geeksforgeeks.org/geek-o-lympics/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekolympics
Coz, this month is gonna be too much fun...
Geek-O-Lympics is NOW LIVE. 🔴
Click here to enjoy the thrilling fun: https://www.geeksforgeeks.org/geek-o-lympics/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekolympics
👍1
We are back again with an exciting Live to make your weekend more entertaining!🤩
We have introduced our own version of Big Boss while enjoying the evening snacks. 🍜
Join our Shonty B@dmass at 6:00 PM IST: https://discord.gg/pjHTwrtQ
We have introduced our own version of Big Boss while enjoying the evening snacks. 🍜
Join our Shonty B@dmass at 6:00 PM IST: https://discord.gg/pjHTwrtQ
"Problem of the Day"
Solve this question to get points
Given a directed acyclic graph(DAG) with n nodes labeled from 0 to n-1. Given edges, s and d ,count the number of ways to reach from s to d.
Full Problem: https://practice.geeksforgeeks.org/problems/count-the-paths4332/1
Solve this question to get points
Given a directed acyclic graph(DAG) with n nodes labeled from 0 to n-1. Given edges, s and d ,count the number of ways to reach from s to d.
Full Problem: https://practice.geeksforgeeks.org/problems/count-the-paths4332/1
practice.geeksforgeeks.org
Count the paths | Practice | GeeksforGeeks
Given a directed acyclic graph(DAG) with n nodes labeled from 0 to n-1. Given edges, s and d ,count the number of ways to reach from s to d.There is a directed Edge from vertex edges[i][0] to the vertex edges[i][1].
Example:
Example:
"Problem of the Day"
Solve this question to get points
Given a string s and a dictionary of words dict of length n, add spaces in s to construct a sentence where each word is a valid dictionary word.
Full Problem: https://bit.ly/3R8Qeuk
Solve this question to get points
Given a string s and a dictionary of words dict of length n, add spaces in s to construct a sentence where each word is a valid dictionary word.
Full Problem: https://bit.ly/3R8Qeuk
practice.geeksforgeeks.org
Word Break - Part 2 | Practice | GeeksforGeeks
Given a string s and a dictionary of words dict of length n, add spaces in s to construct a sentence where each word is a valid dictionary word. Each dictionary word can be used more than once. Return all such possible sentences.
Follow examples for
Follow examples for
👍1
Compete and rule the multiverse of memers. 🙌
Participate in this meme challenge and stand a chance to win big. 🤩
To start right away, click here: https://www.geeksforgeeks.org/geek-o-lympics/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekolympics
P.S. You need to submit your entry daily till 11th July.
Participate in this meme challenge and stand a chance to win big. 🤩
To start right away, click here: https://www.geeksforgeeks.org/geek-o-lympics/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekolympics
P.S. You need to submit your entry daily till 11th July.
👍1
A Streak Worth Maintaining!
Geek-O-Lympics brings to your screen Geek Streak.
Practice coding every day and get rewarded for maintaining a streak for 24 days straight starting from 3rd July 2022.
Go to the link and know everything about Geek Streak: https://www.geeksforgeeks.org/geek-streak-24-days-potd-challenge/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekstreak
Geek-O-Lympics brings to your screen Geek Streak.
Practice coding every day and get rewarded for maintaining a streak for 24 days straight starting from 3rd July 2022.
Go to the link and know everything about Geek Streak: https://www.geeksforgeeks.org/geek-streak-24-days-potd-challenge/?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=geekstreak
This Geek-O-Lympics participate in Interview Series Tryout every Sunday at 7 PM to prepare for coding interview rounds of top tech giants.
Appear on the monthly leaderboard, earn GeekBits, redeem rewards, and much more.
To participate and know more in detail, click here: https://practice.geeksforgeeks.org/events/rec/interview-series?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=interviewseries
Appear on the monthly leaderboard, earn GeekBits, redeem rewards, and much more.
To participate and know more in detail, click here: https://practice.geeksforgeeks.org/events/rec/interview-series?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=interviewseries
❤1