"Problem of the Day"
Solve this question to get points.
Given the total number of persons n and a number k which indicates that k-1 persons are skipped and kth person is killed in circle in a fixed direction.
Full Problem: https://bit.ly/3Stw1A9
Solve this question to get points.
Given the total number of persons n and a number k which indicates that k-1 persons are skipped and kth person is killed in circle in a fixed direction.
Full Problem: https://bit.ly/3Stw1A9
practice.geeksforgeeks.org
Game with String | Practice | GeeksforGeeks
Given a string s of lowercase alphabets and a number k, the task is to print the minimum value of the string after removal of โkโ characters. The value of a string is defined as the sum of squares of the count of each distinct character.
๐1
Today we are going to cover Hashing in DSA for SDE Interview Preparation.
Hashing in the data structure is a technique of mapping a large chunk of data into small tables using a hashing function.
Let's cover various concepts in Hashing one by one.
Common Elements:
Understand the concept here: https://bit.ly/3bDooq5
Practice with this problem: Given two lists V1 and V2 of sizes n and m respectively. Return the list of elements common to both the lists and return the list in sorted order. Duplicates may be there in the output list.
Full Problem: https://bit.ly/3zBxls1
You can find more of these concepts in the main article.
The link to the main article: https://bit.ly/3z3UfrD
Hashing in the data structure is a technique of mapping a large chunk of data into small tables using a hashing function.
Let's cover various concepts in Hashing one by one.
Common Elements:
Understand the concept here: https://bit.ly/3bDooq5
Practice with this problem: Given two lists V1 and V2 of sizes n and m respectively. Return the list of elements common to both the lists and return the list in sorted order. Duplicates may be there in the output list.
Full Problem: https://bit.ly/3zBxls1
You can find more of these concepts in the main article.
The link to the main article: https://bit.ly/3z3UfrD
๐3
Say no to Monday Blues, and yes to Monday offers.
Get Amazon Test Series & Python Programming Foundation at a 20% discount.
Use coupon code "ATS20" for Amazon Test Series: https://practice.geeksforgeeks.org/courses/Amazon-Test-Series?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=ATS20
Use coupon code "PYF20" for Python Programming Foundation: https://practice.geeksforgeeks.org/courses/Python-Foundation?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=PYF20
Hurry! Offer valid for today only.
Get Amazon Test Series & Python Programming Foundation at a 20% discount.
Use coupon code "ATS20" for Amazon Test Series: https://practice.geeksforgeeks.org/courses/Amazon-Test-Series?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=ATS20
Use coupon code "PYF20" for Python Programming Foundation: https://practice.geeksforgeeks.org/courses/Python-Foundation?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=PYF20
Hurry! Offer valid for today only.
๐1
"Problem of the Day"
Solve this question to get points.
Find the count of numbers less than equal to N having exactly 9 divisors.
Full Problem: https://bit.ly/3Sz4lK7
Solve this question to get points.
Find the count of numbers less than equal to N having exactly 9 divisors.
Full Problem: https://bit.ly/3Sz4lK7
practice.geeksforgeeks.org
Nine Divisors | Practice | GeeksforGeeks
Find the count of numbers less than equal to N having exactly 9 divisors.
Example 1:
Input:
N = 100
Output:
2
Explanation:
The two numbers which have
exactly 9 divisors are 36 and 100.
Example 2:
Input:
N = 1000
Outpu
Example 1:
Input:
N = 100
Output:
2
Explanation:
The two numbers which have
exactly 9 divisors are 36 and 100.
Example 2:
Input:
N = 1000
Outpu
๐ฅ1
There are high chances of making mistakes whenever we start learning something new.
In this video, we will talk about the most common mistakes that a beginner programmer/coder is prone to.
There are many mistakes that a beginner/noob programmer makes at the beginning of their coding journey, however, we have discussed the 5 most common mistakes that a beginner coder makes & how to avoid them.
To know more and avoid these mistakes, read the full article: https://bit.ly/3bGLsnS
In this video, we will talk about the most common mistakes that a beginner programmer/coder is prone to.
There are many mistakes that a beginner/noob programmer makes at the beginning of their coding journey, however, we have discussed the 5 most common mistakes that a beginner coder makes & how to avoid them.
To know more and avoid these mistakes, read the full article: https://bit.ly/3bGLsnS
"Problem of the Day"
Solve this question to get points.
Given an undirected graph and an integer M. The task is to determine if the graph can be colored with at most M colors such that no two adjacent vertices of the graph are colored with the same color.
Full Problem: https://bit.ly/3P6Paow
Solve this question to get points.
Given an undirected graph and an integer M. The task is to determine if the graph can be colored with at most M colors such that no two adjacent vertices of the graph are colored with the same color.
Full Problem: https://bit.ly/3P6Paow
practice.geeksforgeeks.org
M-Coloring Problem | Practice | GeeksforGeeks
Given an undirected graph and an integer M. The task is to determine if the graph can be colored with at most M colors such that no two adjacent vertices of the graph are colored with the same color. Here coloring of a graph means the assig
Since we are receiving so many interview experiences, we have great news to share with you.
Therefore, we are moving this eventโs date up to September 18. We hope you will share more of your interview experiences so that you may assist others in succeeding in their interviews.
To share your success story: https://bit.ly/WRITEITUP
Therefore, we are moving this eventโs date up to September 18. We hope you will share more of your interview experiences so that you may assist others in succeeding in their interviews.
To share your success story: https://bit.ly/WRITEITUP
๐ฅ1
"Problem of the Day"
Solve this question to get points.
Two players X and Y are playing a game in which there are pots of gold arranged in a line, each containing some gold coins.
Full Problem: https://bit.ly/3Pe9gNt
Solve this question to get points.
Two players X and Y are playing a game in which there are pots of gold arranged in a line, each containing some gold coins.
Full Problem: https://bit.ly/3Pe9gNt
practice.geeksforgeeks.org
Pots of Gold Game | Practice | GeeksforGeeks
Two players X and Y are playing a game in which there are pots of gold arranged in a line, each containing some gold coins. They get alternating turns in which the player can pick a pot from one of the ends of the line. The winner is the player who h
๐2๐ฅ1
"Problem of the Day"
Solve this question to get points.
Given a string S consisting of uppercase and lowercase characters. The task is to sort uppercase and lowercase letters separately such that if the ith place in the original string had an Uppercase character then it should not have a lowercase character after being sorted and vice versa.
Full Problem: https://practice.geeksforgeeks.org/problems/case-specific-sorting-of-strings4845/1
Solve this question to get points.
Given a string S consisting of uppercase and lowercase characters. The task is to sort uppercase and lowercase letters separately such that if the ith place in the original string had an Uppercase character then it should not have a lowercase character after being sorted and vice versa.
Full Problem: https://practice.geeksforgeeks.org/problems/case-specific-sorting-of-strings4845/1
practice.geeksforgeeks.org
Case-specific Sorting of Strings | Practice | GeeksforGeeks
Given a string S consisting of only uppercase and lowercase characters. The task is to sort uppercase and lowercase letters separately such that if the ith place in the original string had an Uppercase character then it should not have a lowerca
๐1๐ฅ1
Almost every CS IT professional aspires to work at FAANG, that's perhaps the reason why there are so many queries related to how to crack FAANG interviews or how to get a job at FAANG companies.
With this blog, we are going to cover the top programming languages to crack FAANG interviews.
Read more about the programming languages in the article: https://bit.ly/3QCLcoS
With this blog, we are going to cover the top programming languages to crack FAANG interviews.
Read more about the programming languages in the article: https://bit.ly/3QCLcoS
๐ฅ1
Our Skill-Dependence Sale is Live.๐ด
This Independence day, become dependent only on your skills.
Get an extra 15% off on any of your favorite courses!
Also, get an additional cashback up to INR 1000.
Go and grab it now: https://practice.geeksforgeeks.org/courses?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=skilldepedencedaysmain
This Independence day, become dependent only on your skills.
Get an extra 15% off on any of your favorite courses!
Also, get an additional cashback up to INR 1000.
Go and grab it now: https://practice.geeksforgeeks.org/courses?utm_source=telegram&utm_medium=marketingteam_telegram&utm_campaign=skilldepedencedaysmain
๐3๐ฅ3
"Problem of the Day"
Solve this question to get points.
You are given N pairs of numbers. In every pair, the first number is always smaller than the second number. A pair (c, d) can follow another pair (a, b) if b < c.
Full Problem: https://bit.ly/3SMD3Qv
Solve this question to get points.
You are given N pairs of numbers. In every pair, the first number is always smaller than the second number. A pair (c, d) can follow another pair (a, b) if b < c.
Full Problem: https://bit.ly/3SMD3Qv
practice.geeksforgeeks.org
Max length chain | Practice | GeeksforGeeks
You are given N pairs of numbers. In every pair, the first number is always smaller than the second number. A pair (c, d) can follow another pair (a, b) if b < c. Chain of pairs can be formed in this fashion. You have to find the lo
Skill-Dependence Days are back!! ๐ฎ๐ณ
Celebrate this Independence Day by cracking your dream interview with our Complete Interview Preparation Course ๐ป
Use Coupon "SDDOOTD1" to get an instant 20% discount valid till 13th August 2022, 11:59 PM IST.
Also get Cashback Voucher worth INR 1000 applicable on all GFG Courses ๐ซ
๐Course Link: https://bit.ly/3dkARPM
Celebrate this Independence Day by cracking your dream interview with our Complete Interview Preparation Course ๐ป
Use Coupon "SDDOOTD1" to get an instant 20% discount valid till 13th August 2022, 11:59 PM IST.
Also get Cashback Voucher worth INR 1000 applicable on all GFG Courses ๐ซ
๐Course Link: https://bit.ly/3dkARPM
๐ฅ3
"Problem of the Day"
Solve this question to get points.
Given N friends, each one can remain single or can be paired up with some other friend. Each friend can be paired only once.
Full Problem: https://bit.ly/3JUgDZJ
Solve this question to get points.
Given N friends, each one can remain single or can be paired up with some other friend. Each friend can be paired only once.
Full Problem: https://bit.ly/3JUgDZJ
practice.geeksforgeeks.org
Friends Pairing Problem | Practice | GeeksforGeeks
Given N friends, each one can remain single or can be paired up with some other friend. Each friend can be paired only once. Find out the total number of ways in which friends can remain single or can be paired up.
Note: Since answer can be ver
Note: Since answer can be ver
๐2โค1
Skill-Dependence Days are back!! ๐ฎ๐ณ
Join your favourite Live Course @lowest possible price!
Use Coupon "SDDOOTD2" to get an instant 20% discount valid till 14th August 2022, 11:59 PM IST.
Check out: https://practice.geeksforgeeks.org/courses/category/all?courseType=live
Also get Cashback Voucher worth INR 1000 applicable on all GFG Courses. ๐ซ
Join your favourite Live Course @lowest possible price!
Use Coupon "SDDOOTD2" to get an instant 20% discount valid till 14th August 2022, 11:59 PM IST.
Check out: https://practice.geeksforgeeks.org/courses/category/all?courseType=live
Also get Cashback Voucher worth INR 1000 applicable on all GFG Courses. ๐ซ
We know that itโs hard to prepare for tech interviews, and we all need some guidance to start drilling in the right direction.
You will have to get the right experience, build projects outside of school, find internships, do mini-projects to solidify your understanding of key concepts, practice explaining code, and many more.
So, take a step forward towards your desired job by participating in the weekly interview series, which not only gets you interview-ready but also gives you an edge over other candidates.
To participate in this week's interview series, check this out: https://bit.ly/IS_63
You will have to get the right experience, build projects outside of school, find internships, do mini-projects to solidify your understanding of key concepts, practice explaining code, and many more.
So, take a step forward towards your desired job by participating in the weekly interview series, which not only gets you interview-ready but also gives you an edge over other candidates.
To participate in this week's interview series, check this out: https://bit.ly/IS_63
"Problem of the Day"
Solve this question to get points.
Given a binary tree and data value of two of its nodes. Find the number of turns needed to reach from one node to another in the given binary tree.
Full Problem: https://practice.geeksforgeeks.org/problems/number-of-turns-in-binary-tree/1
Solve this question to get points.
Given a binary tree and data value of two of its nodes. Find the number of turns needed to reach from one node to another in the given binary tree.
Full Problem: https://practice.geeksforgeeks.org/problems/number-of-turns-in-binary-tree/1
practice.geeksforgeeks.org
Number of Turns in Binary Tree | Practice | GeeksforGeeks
Given a binary tree and data value of two of its nodes. Find the number of turns needed to reach from one node to another in the given binary tree.
Example 1:
Input:
Tree =
1
/ \
2 3
/ \
Example 1:
Input:
Tree =
1
/ \
2 3
/ \
๐ฅฐ3