Ever wondered how to answer DSA questions perfectly? Or even, what kind of questions should you expect in a coding round?
Well, we have Mr. Dhananjay Mishra, mentor at GeeksforGeeks, interviewing Mr. Nishant Rana, a 2nd year CSE student.
Catch them live at 7 PM IST.
Set Reminder: https://youtu.be/PEjIsbfGkVY
Well, we have Mr. Dhananjay Mishra, mentor at GeeksforGeeks, interviewing Mr. Nishant Rana, a 2nd year CSE student.
Catch them live at 7 PM IST.
Set Reminder: https://youtu.be/PEjIsbfGkVY
"Problem of the Day"
Solve this question to get points
Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair(arri, arrj) from the array such that i != j.
Full problem: https://practice.geeksforgeeks.org/problems/maximum-and-value-1587115620/1
Solve this question to get points
Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair(arri, arrj) from the array such that i != j.
Full problem: https://practice.geeksforgeeks.org/problems/maximum-and-value-1587115620/1
practice.geeksforgeeks.org
Maximum AND Value | Practice | GeeksforGeeks
Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair(arri, arrj) from the array such that i != j.
Note: AND is bitwise '&' operator.
Example 1:
Input:
N = 4
arr[] = {4, 8,
Note: AND is bitwise '&' operator.
Example 1:
Input:
N = 4
arr[] = {4, 8,
Hearing interview experiences help you to formulate interview strategies that will lead you to an opportunity that you have been waiting for long!
In this webinar, watch Mr. Azzam Jafri, Associate Trainee at Avizva and a 2021 graduate from Jamia Milia Islamia University, talk about his interview experience.
Going live at 7 PM IST.
Set Reminder: https://youtu.be/z9jajEV9WkY
In this webinar, watch Mr. Azzam Jafri, Associate Trainee at Avizva and a 2021 graduate from Jamia Milia Islamia University, talk about his interview experience.
Going live at 7 PM IST.
Set Reminder: https://youtu.be/z9jajEV9WkY
"Problem of the Day"
Solve this question to get points
Given a singly linked list of size N. The task is to rotate the linked list counter-clockwise by k nodes, where k is a given positive integer smaller than or equal to length of the linked list.
Full problem: https://practice.geeksforgeeks.org/problems/rotate-a-linked-list/1
Solve this question to get points
Given a singly linked list of size N. The task is to rotate the linked list counter-clockwise by k nodes, where k is a given positive integer smaller than or equal to length of the linked list.
Full problem: https://practice.geeksforgeeks.org/problems/rotate-a-linked-list/1
practice.geeksforgeeks.org
Rotate a Linked List | Practice | GeeksforGeeks
Given a singly linked list of size N. The task is to left-shift the linked list by k nodes, where k is a given positive integer smaller than or equal to length of the linked list.
Example 1:
Input:
N = 5
value[] = {2, 4, 7, 8, 9}
k = 3
O
Example 1:
Input:
N = 5
value[] = {2, 4, 7, 8, 9}
k = 3
O
Start preparing for your interviews from the experiences and formulate strategies focusing on dos and don'ts.
In this webinar, we have Mr. Adit Goswami, Programmer Analyst Trainee at CTS, talk about his interview experience. Mr. Goswami is a 2021 CSE graduate from AOT.
Going Live at 2 PM IST.
Set Reminder: https://youtu.be/9_W7_y4cIcM
In this webinar, we have Mr. Adit Goswami, Programmer Analyst Trainee at CTS, talk about his interview experience. Mr. Goswami is a 2021 CSE graduate from AOT.
Going Live at 2 PM IST.
Set Reminder: https://youtu.be/9_W7_y4cIcM
Know the preparation strategies from the experienced ones who have backed the opportunities for themselves.
In this webinar, watch Mr. Abhay Kaul, a business analyst trainee at Barclays and an IT- student from VJTI, talk about his preparation strategies.
Going live at 7:30 PM.
Set reminder: https://youtu.be/fjxrsG7gsPo
In this webinar, watch Mr. Abhay Kaul, a business analyst trainee at Barclays and an IT- student from VJTI, talk about his preparation strategies.
Going live at 7:30 PM.
Set reminder: https://youtu.be/fjxrsG7gsPo
"Problem of the Day"
Solve this question to get points
Given a string s and an integer k, the task is to reduce the string by applying the following operation:
Choose a group of k consecutive identical characters and remove them.
Full problem: https://practice.geeksforgeeks.org/problems/8c8f95810b05b4cab665f2997d36991bd58308a2/1
Solve this question to get points
Given a string s and an integer k, the task is to reduce the string by applying the following operation:
Choose a group of k consecutive identical characters and remove them.
Full problem: https://practice.geeksforgeeks.org/problems/8c8f95810b05b4cab665f2997d36991bd58308a2/1
practice.geeksforgeeks.org
Restrictive Candy Crush | Practice | GeeksforGeeks
Given a string s and an integer k, the task is to reduce the string by applying the following operation:
Choose a group of k consecutive identical characters and remove them.
The operation can be performed any number of times until it i
Choose a group of k consecutive identical characters and remove them.
The operation can be performed any number of times until it i
The more you practice, the more your chances of landing up your dream job!
In this webinar, find one of our mentors, Mr. Dhananjay Mishra interviewing Dhruv Bakshi, a student from Cambridge Foundation School.
Catch them live at 7:00 PM IST.
Set Reminder: https://youtu.be/r4TSQJxUK5U
In this webinar, find one of our mentors, Mr. Dhananjay Mishra interviewing Dhruv Bakshi, a student from Cambridge Foundation School.
Catch them live at 7:00 PM IST.
Set Reminder: https://youtu.be/r4TSQJxUK5U
"Problem of the Day"
Solve this question to get points
Given an input stream arr[] of n integers. Find the Kth largest element for each element in the stream and if the Kth element doesn't exist, return -1.
Full problem: https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1
Solve this question to get points
Given an input stream arr[] of n integers. Find the Kth largest element for each element in the stream and if the Kth element doesn't exist, return -1.
Full problem: https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1
practice.geeksforgeeks.org
Kth largest element in a stream | Practice | GeeksforGeeks
Given an input stream arr[] of n integers. Find the Kth largest element for each element in the stream and if the Kth element doesn't exist, return -1.
Example 1:
Input:
k = 4, n = 6
arr[] = {1, 2, 3, 4, 5, 6}
Output:
-1 -1
Example 1:
Input:
k = 4, n = 6
arr[] = {1, 2, 3, 4, 5, 6}
Output:
-1 -1
Time to get answers of your all queries related to preparations!!
Get your queries solved by our mentors.
Today at 4 PM IST.
Set Reminder: https://youtu.be/UQBBa3MIooY
Get your queries solved by our mentors.
Today at 4 PM IST.
Set Reminder: https://youtu.be/UQBBa3MIooY
"Problem of the Day"
Solve this question to get points
Given a Binary Tree. Return 1 if, for every node X in the tree other than the leaves, its value is equal to the sum of its left subtree's value and its right subtree's value. Else return 0.
Full problem: https://practice.geeksforgeeks.org/problems/sum-tree/1
Solve this question to get points
Given a Binary Tree. Return 1 if, for every node X in the tree other than the leaves, its value is equal to the sum of its left subtree's value and its right subtree's value. Else return 0.
Full problem: https://practice.geeksforgeeks.org/problems/sum-tree/1
www.geeksforgeeks.org
Sum Tree | Practice | GeeksforGeeks
Given a Binary Tree. Check for the Sum Tree for every node except the leaf node. Return true if it is a Sum Tree otherwise, return false.
A SumTree is a Binary Tree where the value of a node is equal to the sum of the nodes present in its left subt
A SumTree is a Binary Tree where the value of a node is equal to the sum of the nodes present in its left subt
Do you want video solutions for Problem of the Day questions?
(YouTube videos)
(YouTube videos)
Anonymous Poll
93%
Yes
7%
No
Want to know, how to solve Kth largest element in a stream question?
(26th May- Problem of the day)
Check out this video: https://youtu.be/1pnpN1E0kOU
(26th May- Problem of the day)
Check out this video: https://youtu.be/1pnpN1E0kOU
YouTube
Kth largest element in a stream | Problem of the Day 26-05-21| Krish Rustagi
Understood the solution. Try it yourself on our portal:
https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1
Subscribe our channel:
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱 𝗢𝗻𝗹𝗶𝗻𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀…
https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1
Subscribe our channel:
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱 𝗢𝗻𝗹𝗶𝗻𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀…
"Problem of the Day"
Solve this question to get points
Given a 5x6 snakes and ladders board, find the minimum number of dice throws required to reach the destination or last cell (30th cell) from the source (1st cell).
Full problem: https://practice.geeksforgeeks.org/problems/snake-and-ladder-problem4816/1
Solve this question to get points
Given a 5x6 snakes and ladders board, find the minimum number of dice throws required to reach the destination or last cell (30th cell) from the source (1st cell).
Full problem: https://practice.geeksforgeeks.org/problems/snake-and-ladder-problem4816/1
practice.geeksforgeeks.org
Snake and Ladder Problem | Practice | GeeksforGeeks
Given a 5x6 snakes and ladders board, find the minimum number of dice throws required to reach the destination or last cell (30th cell) from the source (1st cell).
You are given an integer N denoting the total number of s
You are given an integer N denoting the total number of s
What does it take to be an intern at Google & finally, a software engineer?
Watch this webinar with Yogesh Sharma, an incoming SE at Google to hear him talk about his continuous efforts in achieving the best!
Watch him live at 7:30 PM IST.
Set Reminder: https://youtu.be/IpfP1UtectQ
Watch this webinar with Yogesh Sharma, an incoming SE at Google to hear him talk about his continuous efforts in achieving the best!
Watch him live at 7:30 PM IST.
Set Reminder: https://youtu.be/IpfP1UtectQ
"Problem of the Day"
Solve this question to get points
Given a sequence of matrices, find the most efficient way to multiply these matrices together. The efficient way is the one that involves the least number of multiplications.
Full problem: https://practice.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1
Solve this question to get points
Given a sequence of matrices, find the most efficient way to multiply these matrices together. The efficient way is the one that involves the least number of multiplications.
Full problem: https://practice.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1
www.geeksforgeeks.org
Matrix Chain Multiplication | Practice | GeeksforGeeks
Given an array arr[] which represents dimensions of sequence of matrices where the ith matrix has the dimensions (arr[i-1] x arr[i]) for i>=1., find the most efficient way to multiply these matrices together. The
Want to know, how to solve Sum Tree question?
(27th May- Problem of the day)
Check out this video: https://youtu.be/8Tp8Grsdkt8
(27th May- Problem of the day)
Check out this video: https://youtu.be/8Tp8Grsdkt8
YouTube
Sum Tree | Problem of the Day 27-05-21 | Krish Rustagi
Test your solution on our practice portal:
https://practice.geeksforgeeks.org/problems/sum-tree/1
Subscribe our YouTube channel GeeksforGeeks Practice
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱 𝗢𝗻𝗹𝗶𝗻𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀- htt…
https://practice.geeksforgeeks.org/problems/sum-tree/1
Subscribe our YouTube channel GeeksforGeeks Practice
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱 𝗢𝗻𝗹𝗶𝗻𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀- htt…
In this session, you will learn about -
- What is cloud computing?
- Why it is important?
- Different types of cloud computing
- Which all cloud providers available in market?
Don't wait, set reminder for today 7:30 PM IST.
Youtube Live link: https://youtu.be/AI6H-Vv3ckc
- What is cloud computing?
- Why it is important?
- Different types of cloud computing
- Which all cloud providers available in market?
Don't wait, set reminder for today 7:30 PM IST.
Youtube Live link: https://youtu.be/AI6H-Vv3ckc
Want to know, how to solve Snake and Ladder Problem question?
(28th May- Problem of the day)
Check out this video: https://youtu.be/9SmdrTkEffM
(28th May- Problem of the day)
Check out this video: https://youtu.be/9SmdrTkEffM
YouTube
Snake and Ladder Problem | Problem of the Day 28-05-21 | Krish Rustagi
Test your solution on our practice portal:
https://practice.geeksforgeeks.org/problems/snake-and-ladder-problem4816/1
Subscribe our YouTube channel GeeksforGeeks Practice
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱…
https://practice.geeksforgeeks.org/problems/snake-and-ladder-problem4816/1
Subscribe our YouTube channel GeeksforGeeks Practice
https://www.youtube.com/channel/UCXQnpama_0lAzj_4MAdZ5vw
𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝗼𝘂𝗿 𝗟𝗜𝗩𝗘 𝗮𝗻𝗱…
"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-heights3351/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-heights3351/1
www.geeksforgeeks.org
Minimize the Heights II | Practice | GeeksforGeeks
Given an array arr[] denoting heights of n towers and a positive integer k.
For each tower, you must perform exactly one of the following operations exactly once.
Increase the height of the tower by k
Decrease the height of the tower by k
Find out
For each tower, you must perform exactly one of the following operations exactly once.
Increase the height of the tower by k
Decrease the height of the tower by k
Find out