"Problem of the Day"
Solve this question to get points
You are given weights and values of N items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack.
Full Problem: https://practice.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1
Solve this question to get points
You are given weights and values of N items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack.
Full Problem: https://practice.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1
www.geeksforgeeks.org
0 - 1 Knapsack Problem | Practice | GeeksforGeeks
You are given weights and values of N items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. Note that we have only one quantity of each item.In other words, given two integer arrays val[0..N-1] and wt[0..N
Doesn't matter if you're preparing for the GATE examination the first, second or the n'th time, all you need now is strong focus, some dedication and the best-in-class resources to help you prepare.
Check out now: https://youtu.be/zG748Aa9AZY
Check out now: https://youtu.be/zG748Aa9AZY
YouTube
Theory Of Computation | GATE Computer Science Preparation 2022 | GeeksforGeeks
Doesn't matter if you're preparing for the GATE examination the first, second or the n'th time, all you need now is strong focus, some dedication and the best-in-class resources to help you prepare. You bring the former two, and we are here to help you withβ¦
"Problem of the Day"
Solve this question to get points
Given a binary tree, print the bottom view from left to right.
A node is included in bottom view if it can be seen when we look at the tree from bottom.
Full Problem: https://practice.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1
Solve this question to get points
Given a binary tree, print the bottom view from left to right.
A node is included in bottom view if it can be seen when we look at the tree from bottom.
Full Problem: https://practice.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1
www.geeksforgeeks.org
Bottom View of Binary Tree | Practice | GeeksforGeeks
You are given the root of a binary tree, and your task is to return its bottom view. The bottom view of a binary tree is the set of nodes visible when the tree is viewed from the bottom.
Note: If there are multiple bottom-most nodes for a horizo
Note: If there are multiple bottom-most nodes for a horizo
π1
Hey Geeks,
Don't wait, grab the best deals to upgrade yourself.
LAST DAY TODAY
Just check out the offers here: https://bit.ly/UpgradewithGFG
Don't wait, grab the best deals to upgrade yourself.
LAST DAY TODAY
Just check out the offers here: https://bit.ly/UpgradewithGFG
"Problem of the Day"
Solve this question to get points
In the stock market, a person buys a stock and sells it on some future date. Given the stock prices of N days in an array A[ ] and a positive integer K, find out the maximum profit a person can make in at-most K transactions.
Full Problem: https://practice.geeksforgeeks.org/problems/maximum-profit4657/1
Solve this question to get points
In the stock market, a person buys a stock and sells it on some future date. Given the stock prices of N days in an array A[ ] and a positive integer K, find out the maximum profit a person can make in at-most K transactions.
Full Problem: https://practice.geeksforgeeks.org/problems/maximum-profit4657/1
practice.geeksforgeeks.org
Maximum Profit | Practice | GeeksforGeeks
In the stock market, a person buys a stock and sells it on some future date. Given the stock prices of N days in an array A[ ] and a positive integer K, find out the maximum profit a person can make in at-most K transactions. A transaction is equival
π1
We can't deny the fact that the gaming industry is reaching new heights leading to the growth in gaming development platforms as well. A game developer has to take care of many things like graphics, visuals, software developments, etc.
So, in order to give more details on the gaming development platforms, catch this article: https://www.geeksforgeeks.org/top-7-game-development-platforms-for-developers/
So, in order to give more details on the gaming development platforms, catch this article: https://www.geeksforgeeks.org/top-7-game-development-platforms-for-developers/
"Problem of the Day"
Solve this question to get points
Given an array arr[] denoting heights of N towers and a positive integer K, you have to modify the height of each tower either by increasing or decreasing them by K only once.
Full Problem: https://practice.geeksforgeeks.org/problems/minimize-the-heights-i/1
Solve this question to get points
Given an array arr[] denoting heights of N towers and a positive integer K, you have to modify the height of each tower either by increasing or decreasing them by K only once.
Full Problem: https://practice.geeksforgeeks.org/problems/minimize-the-heights-i/1
www.geeksforgeeks.org
Minimize the Heights | Practice | GeeksforGeeks
Given an array arr[] representing the heights of n towers and a positive integer k. For each tower, perform exactly one of the following operations exactly once:Increase its height by k, orDecrease its height by k.After performing the operation on ev
π1
True/ False
In a function that receives variable number of arguments the fixed arguments passed to the function can be at the end of argument list.
In a function that receives variable number of arguments the fixed arguments passed to the function can be at the end of argument list.
Anonymous Quiz
61%
True
39%
False
π1
Want to know, how to solve "Maximum Profit" question?
(30 August - Problem of the day)
Check out the video: https://youtu.be/kT8EfrNuSt4
(30 August - Problem of the day)
Check out the video: https://youtu.be/kT8EfrNuSt4
YouTube
Maximum Profit | Problem of the Day-30/08/21 | Siddharth Hazra | GeeksforGeeks Practice
Submit your solutions here-: https://practice.geeksforgeeks.org/problems/maximum-profit4657/1
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channel/UCXQnpβ¦
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channel/UCXQnpβ¦
"Problem of the Day"
Solve this question to get points
Given an array A of N elements. Find the majority element in the array. A majority element in an array A of size N is an element that appears more than N/2 times in the array.
Full Problem: https://practice.geeksforgeeks.org/problems/majority-element-1587115620/1
Solve this question to get points
Given an array A of N elements. Find the majority element in the array. A majority element in an array A of size N is an element that appears more than N/2 times in the array.
Full Problem: https://practice.geeksforgeeks.org/problems/majority-element-1587115620/1
www.geeksforgeeks.org
Majority Element | Practice | GeeksforGeeks
Given an array A of N elements. Find the majority element in the array. A majority element in an array A of size N is an element that appears strictly more than N/2 times in the array.
Example 1:
Input:
N = 3
A[] = {1,2,3}
Output:
-1
Exp
Example 1:
Input:
N = 3
A[] = {1,2,3}
Output:
-1
Exp
We always tend to look only to the preparation part, when it comes to getting a job. But we need to start considering the long-term career perspective as well, how well it is getting aligned with the individual's career goals.
So, in order to give you all a 360-degree view, here are the red flags you should look out for during a software developer interview.
Read the full article: https://www.geeksforgeeks.org/7-red-flags-to-look-out-for-during-a-software-developer-interview/
So, in order to give you all a 360-degree view, here are the red flags you should look out for during a software developer interview.
Read the full article: https://www.geeksforgeeks.org/7-red-flags-to-look-out-for-during-a-software-developer-interview/
Want to know, how to solve "Minimize the Heights" question?
(31 August - Problem of the day)
Check out the video: https://youtu.be/tSLiZAQG9NM
(31 August - Problem of the day)
Check out the video: https://youtu.be/tSLiZAQG9NM
YouTube
Minimize the Heights | Problem of the Day-31/08/21 | Riya Singhal | GeeksforGeeks Practice
Submit your solutions here-: https://practice.geeksforgeeks.org/problems/minimize-the-heights-i/1
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channel/UCβ¦
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channel/UCβ¦
"Problem of the Day"
Solve this question to get points
Given a number N, the task is find the number of ways to represent this number as a sum of 2 or more consecutive natural numbers.
Full Problem: https://practice.geeksforgeeks.org/problems/count-of-sum-of-consecutives3741/1
Solve this question to get points
Given a number N, the task is find the number of ways to represent this number as a sum of 2 or more consecutive natural numbers.
Full Problem: https://practice.geeksforgeeks.org/problems/count-of-sum-of-consecutives3741/1
practice.geeksforgeeks.org
Count of sum of consecutives | Practice | GeeksforGeeks
Given a number N, the task is find the number of ways to represent this number as a sum of 2 or more consecutive natural numbers.
Example 1:
Input:
N = 10
Output:
1
Explanation:
10 can be reprsented as sum of two or
more conse
Example 1:
Input:
N = 10
Output:
1
Explanation:
10 can be reprsented as sum of two or
more conse
This video is another example of how amazing Python is. So, here we will be learning about automating Google Search. The key here is Selenium, a browser automation tool, which automatically performs the same interactions that you need to perform manually.
Watch the video: https://youtu.be/40RKnm59w5U
Watch the video: https://youtu.be/40RKnm59w5U
YouTube
Automate Google Search using Python Selenium | GeeksforGeeks
In this video, we're going to discuss how to automate Google Search using Python. There are various ways to do this particular task - here, we'll be using Selenium (a browser automation tool). Selenium is basically a portable framework for testing web applicationsβ¦
Want to know, how to solve "Majority Element" question?
(01 Sept - Problem of the day)
Check out the video: https://youtu.be/Ztp_I_o20ys
(01 Sept - Problem of the day)
Check out the video: https://youtu.be/Ztp_I_o20ys
YouTube
Majority Element | Problem of the Day-1/09/21 | Siddharth Hazra | GeeksforGeeks Practice
Submit your solutions here-: https://practice.geeksforgeeks.org/problems/majority-element-1587115620/1
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channβ¦
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/channβ¦
"Problem of the Day"
Solve this question to get points
Given a matrix of size n x m. Your task is to make Zeroes, that means in whole matrix when you find a zero, convert its upper, lower, left, and right value to zero and make that element the sum of the upper, lower, left and right value.
Full Problem: https://practice.geeksforgeeks.org/problems/make-zeroes4042/1
Solve this question to get points
Given a matrix of size n x m. Your task is to make Zeroes, that means in whole matrix when you find a zero, convert its upper, lower, left, and right value to zero and make that element the sum of the upper, lower, left and right value.
Full Problem: https://practice.geeksforgeeks.org/problems/make-zeroes4042/1
practice.geeksforgeeks.org
Make Zeroes | Practice | GeeksforGeeks
Given a matrix of size n x m. Your task is to make Zeroes, that means in whole matrix when you find a zero, convert its upper, lower, left, and right value to zero and make that element the sum of the upper, lower, left and right
Worried about building your career in a technology-driven world, with frequent advancements coming into existence?
To answer your question, here's an article on the most popular Java Frameworks that one should definitely try their hands on.
Read the full article: https://www.geeksforgeeks.org/10-most-popular-java-frameworks-that-you-must-try/
To answer your question, here's an article on the most popular Java Frameworks that one should definitely try their hands on.
Read the full article: https://www.geeksforgeeks.org/10-most-popular-java-frameworks-that-you-must-try/
Want to know, how to solve "Count of sum of consecutives" question?
(02 Sept - Problem of the day)
Check out the video: https://youtu.be/AOVnTWb1jmw
(02 Sept - Problem of the day)
Check out the video: https://youtu.be/AOVnTWb1jmw
YouTube
Count of sum of consecutives |Problem of the Day-02/09/21 | Siddharth Hazra | GeeksforGeeks Practice
Submit your solutions here-: https://practice.geeksforgeeks.org/problems/count-of-sum-of-consecutives3741/1
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/β¦
Free resources that can never be matched, presented to all our Geeks for free! Subscribe now and start practicing today: https://www.youtube.com/β¦
"Problem of the Day"
Solve this question to get points
Given an array arr[] of N elements. Find the number of non-empty subsets whose product of elements is less than or equal to a given integer K.
Full Problem: https://practice.geeksforgeeks.org/problems/number-of-subsets-with-product-less-than-k/1
Solve this question to get points
Given an array arr[] of N elements. Find the number of non-empty subsets whose product of elements is less than or equal to a given integer K.
Full Problem: https://practice.geeksforgeeks.org/problems/number-of-subsets-with-product-less-than-k/1
practice.geeksforgeeks.org
Number of subsets with product less than k | Practice | GeeksforGeeks
Given an array arr[] of N elements. Find the number of non-empty subsets whose product of elements is less than or equal to a given integer K.
Example 1:
Input:
N = 4
arr[] = {2, 4, 5, 3}
K = 12
Output:
8
Explanation:
All possible subsets
Example 1:
Input:
N = 4
arr[] = {2, 4, 5, 3}
K = 12
Output:
8
Explanation:
All possible subsets
"Problem of the Day"
Solve this question to get points
Given an array of positive integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order.
Full Problem: https://practice.geeksforgeeks.org/problems/longest-consecutive-subsequence2449/1
Solve this question to get points
Given an array of positive integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order.
Full Problem: https://practice.geeksforgeeks.org/problems/longest-consecutive-subsequence2449/1
practice.geeksforgeeks.org
Longest consecutive subsequence | Practice | GeeksforGeeks
Given an array of positive integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order.
Example 1:
Input:
N = 7
a[] = {2,6,1,9,4,5,3}
Output:
Example 1:
Input:
N = 7
a[] = {2,6,1,9,4,5,3}
Output: