Nitika recently read about XOR operation and she got obssessed with it. She has an array containing N Positive integers.
She wants to perform Q queries on the array.
Full problem:
https://practice.geeksforgeeks.org/problems/nitika-and-her-queries/0
She wants to perform Q queries on the array.
Full problem:
https://practice.geeksforgeeks.org/problems/nitika-and-her-queries/0
practice.geeksforgeeks.org
Nitika and her queries | Practice | GeeksforGeeks
Nitika recently read about XOR operation and she got obssessed with it. She has an array a containing N Positive integers.She wants to perform Q queries on the array.In a query She gives two integers L and R.(1 based indexing).Now, she asks what
Hear Mr. Aditya Kumar, today at 7 PM IST sharing his interview experience at TCS.
Get ready to take some useful notes before you sit for your next interview!!
Set Reminder Now: https://youtu.be/QP-m1TyME0M
Get ready to take some useful notes before you sit for your next interview!!
Set Reminder Now: https://youtu.be/QP-m1TyME0M
Given n and k, Construct a palindrome of size n using a binary number of size k repeating itself to wrap into the palindrome. The palindrome must always begin with 1 and contains the maximum number of zeros.
Full problem:
https://practice.geeksforgeeks.org/problems/construct-binary-palindrome-by-repeated-appending-and-trimming/0
Full problem:
https://practice.geeksforgeeks.org/problems/construct-binary-palindrome-by-repeated-appending-and-trimming/0
practice.geeksforgeeks.org
Construct binary palindrome by repeated appending and trimming | Practice | GeeksforGeeks
Given n and k, Construct a palindrome of size n using a binary number of size k repeating itself to wrap into the palindrome. The palindrome must always begin with 1 and contains the maximum number of zeros.
Example 1:รขโฌโน
Input :
Example 1:รขโฌโน
Input :
An alumnus from Thapar University & a CS graduate, hear Mr. Shubham Bhaskar narrate his interview experience at Amazon. Today at 8 PM IST.
Set Reminder: https://youtu.be/pKP-tI0oftw
Set Reminder: https://youtu.be/pKP-tI0oftw
Dilpreet wants to paint his dog- Buzo's home that has n boards with different lengths[A1, A2,..., An]. He hired k painters for this work and each painter takes 1 unit time to paint 1 unit of the board.
Full problem:
https://practice.geeksforgeeks.org/problems/the-painters-partition-problem/0
Full problem:
https://practice.geeksforgeeks.org/problems/the-painters-partition-problem/0
www.geeksforgeeks.org
The Painter's Partition Problem-II | Practice | GeeksforGeeks
Given an array arr[] where each element denotes the length of a board, and an integer k representing the number of painters available. Each painter takes 1 unit of time to paint 1 unit length of a board.
Determine the minimum amount of time required
Determine the minimum amount of time required
"Coding question of the day"
Aditya has arranged some of his building blocks in N columns. Each column has a certain number of blocks given by an array A.
Full problem:
https://practice.geeksforgeeks.org/problems/aditya-and-his-building-blocks/0
Aditya has arranged some of his building blocks in N columns. Each column has a certain number of blocks given by an array A.
Full problem:
https://practice.geeksforgeeks.org/problems/aditya-and-his-building-blocks/0
practice.geeksforgeeks.org
Aditya and his building blocks | Practice | GeeksforGeeks
Aditya has arranged some of his building blocks in N columns. Each column has a certain number of blocks given by an array A.
Each element of A(i.e. Ai) is the height of the ith column. Aditya now has M blocks left. He doesn't like small columns
Each element of A(i.e. Ai) is the height of the ith column. Aditya now has M blocks left. He doesn't like small columns
Get ready to take some useful notes before you sit for your next interview in case you needed some to become a Full-Stack Software Developer!
Join us Today at 8 PM IST
Set Reminder Now: https://youtu.be/kzj6s3x8ar0
Join us Today at 8 PM IST
Set Reminder Now: https://youtu.be/kzj6s3x8ar0
"Coding question of the day"
Gotham has been attacked by Joker . Bruce Wayne has deployed automatic machine gun at each tower of Gotham.
All the towers in Gotham are in straight line.
Full problem:
https://practice.geeksforgeeks.org/problems/save-gotham/0
Gotham has been attacked by Joker . Bruce Wayne has deployed automatic machine gun at each tower of Gotham.
All the towers in Gotham are in straight line.
Full problem:
https://practice.geeksforgeeks.org/problems/save-gotham/0
practice.geeksforgeeks.org
Save Gotham! | Practice | GeeksforGeeks
Gotham has been attacked by Joker . Bruce Wayne has deployed an automatic machine gun at each tower of Gotham.
All the towers in Gotham are in a straight line.
You are given no of towers 'n' followed by the height of 'n' towers.
Fo
All the towers in Gotham are in a straight line.
You are given no of towers 'n' followed by the height of 'n' towers.
Fo
Interview experiences give us a list of do's & don'ts. Knowing some great tips beforehand always come handy!
Get ready to take some useful notes before you sit for your next interview from Manali Biswas today at 1 PM IST.
Set Reminder: https://youtu.be/OqE82-Trny8
Get ready to take some useful notes before you sit for your next interview from Manali Biswas today at 1 PM IST.
Set Reminder: https://youtu.be/OqE82-Trny8
"Coding Question of the Day"
Rahul wanted to purchase vegetables mainly brinjal, carrot and tomato. There are N different vegetable sellers in a line. Each vegetable seller sells all three vegetable items, but at different prices.
Full problem:
https://practice.geeksforgeeks.org/problems/buying-vegetables/0
Rahul wanted to purchase vegetables mainly brinjal, carrot and tomato. There are N different vegetable sellers in a line. Each vegetable seller sells all three vegetable items, but at different prices.
Full problem:
https://practice.geeksforgeeks.org/problems/buying-vegetables/0
practice.geeksforgeeks.org
Buying Vegetables | Practice | GeeksforGeeks
Geek wants to inspect the quality of vegetables at each shop in the vegetable market. There are N different vegetable sellers in a line. A single kilogram each of brinjal, carrot and tomato are available with every seller but at different prices.&nbs
Finding difficulty to solve the 30 days of Code problems?
Check out our channel to find all solutions.
And, to get the solution of 27th day problem, click here-> https://youtu.be/4mFr3x9PNZU
Check out our channel to find all solutions.
And, to get the solution of 27th day problem, click here-> https://youtu.be/4mFr3x9PNZU
"Coding Question of the Day"
As White Walkers have attacked winterfell,Cersei has to send her army to winterfell but through tunnels.
Unwilling to do so, she wants to delay as much as she can so she take longest route to Winterfell.
Full Problem:
https://practice.geeksforgeeks.org/problems/save-winterfell/0
As White Walkers have attacked winterfell,Cersei has to send her army to winterfell but through tunnels.
Unwilling to do so, she wants to delay as much as she can so she take longest route to Winterfell.
Full Problem:
https://practice.geeksforgeeks.org/problems/save-winterfell/0
practice.geeksforgeeks.org
Save Winterfell | Practice | GeeksforGeeks
As White Walkers have attacked Winterfell, Cersei has to send her army to Winterfell but through tunnels.
Unwilling to do so, she wants to delay as much as she can so she take the longest route to Winterfell.
You are given no of tunnels(n) followed
Unwilling to do so, she wants to delay as much as she can so she take the longest route to Winterfell.
You are given no of tunnels(n) followed
Hear it from Sakshi Sharma about her interview experience at Infosys to prepare yourself before you sit for your placement!
When? Today at 7 PM IST.
Set Reminder Now: https://youtu.be/u0zbnJ7uLqU
When? Today at 7 PM IST.
Set Reminder Now: https://youtu.be/u0zbnJ7uLqU
"Coding Question of the Day"
Given two strings X and Y (call letters in uppercase). Check if it is possible to convert X to Y by performing following operations.
Full problem:
https://practice.geeksforgeeks.org/problems/string-conversion/0
Given two strings X and Y (call letters in uppercase). Check if it is possible to convert X to Y by performing following operations.
Full problem:
https://practice.geeksforgeeks.org/problems/string-conversion/0
practice.geeksforgeeks.org
String Conversion | Practice | GeeksforGeeks
Given two strings X and Y, the task is to check if it is possible to convert X to Y by performing the following operations.
Make some lowercase letters uppercase.
Delete all the lowercase letters.
Example 1:
Input: X = "daBcd
Make some lowercase letters uppercase.
Delete all the lowercase letters.
Example 1:
Input: X = "daBcd
Watch Shashank Hiremath talk about his interview experience at Swiggy! The app we love to order food from, know what goes into recruiting its employees.
Today at 7 PM IST.
Set Reminder: https://youtu.be/gF4fhA9CbZ8
Today at 7 PM IST.
Set Reminder: https://youtu.be/gF4fhA9CbZ8
"Coding Question of the Day"
Given N non-negative integers a_1, a_2, ..., a_n where each represents a point at coordinate (i, a_i) . N vertical lines are drawn such that the two endpoints of line i is at (i, a_i) and (i, 0).
Full problem:
https://practice.geeksforgeeks.org/problems/container-with-most-water/0
Given N non-negative integers a_1, a_2, ..., a_n where each represents a point at coordinate (i, a_i) . N vertical lines are drawn such that the two endpoints of line i is at (i, a_i) and (i, 0).
Full problem:
https://practice.geeksforgeeks.org/problems/container-with-most-water/0
practice.geeksforgeeks.org
Container With Most Water | Practice | GeeksforGeeks
Given N non-negative integers a1,a2,....an where each represents a point at coordinate (i, ai). N vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i,0). Find two lines, which together with x-axis f
"Coding Question of the Day"
Geek recently read about strings, and he got interested in them. Geek has a list containing N words (not necessarily distinct)-denoted by Li.....
Full problem:
https://practice.geeksforgeeks.org/problems/geek-and-strings/0
Geek recently read about strings, and he got interested in them. Geek has a list containing N words (not necessarily distinct)-denoted by Li.....
Full problem:
https://practice.geeksforgeeks.org/problems/geek-and-strings/0
practice.geeksforgeeks.org
Geek and Strings | Practice | GeeksforGeeks
Geek has a list Li containing (not necessarily distinct) N words and Q queries. Each query consists of a string x. For each query, find how many strings in the List Li has the string x as its prefix.
Example 1:
Input:
N = 5, Q = 5
Example 1:
Input:
N = 5, Q = 5
A to-be graduate from LNMIIT, hear Rishabh Khatri speak about his interview experience at OYO. There are always a few takeaways from every experience. So, take your notepad along to jot down the do's & don'ts!
Today at 7 PM IST
Set Reminder: https://youtu.be/Ev-MHsimjfY
Today at 7 PM IST
Set Reminder: https://youtu.be/Ev-MHsimjfY
Hear Rachit Goel sharing his interview experience at SAP Labs. There are always a few takeaways from every experience. So, take your notepad along to jot down the do's & don'ts!
Today at 1 PM IST
Set Reminder: https://youtu.be/45r2BqPn6Wc
Today at 1 PM IST
Set Reminder: https://youtu.be/45r2BqPn6Wc
"Coding Question of the Day"
Given an array containing N integers and an integer K. Your task is to find the length of the longest Sub-Array with sum of the elements equal to the given value K.
Full problem:
https://practice.geeksforgeeks.org/problems/longest-sub-array-with-sum-k/0?utm_source=Telegram&utm_medium=SM&utm_campaign=27Tele
Given an array containing N integers and an integer K. Your task is to find the length of the longest Sub-Array with sum of the elements equal to the given value K.
Full problem:
https://practice.geeksforgeeks.org/problems/longest-sub-array-with-sum-k/0?utm_source=Telegram&utm_medium=SM&utm_campaign=27Tele
practice.geeksforgeeks.org
Longest Sub-Array with Sum K | Practice | GeeksforGeeks
Given an array containing N integers and an integer K., Your task is to find the length of the longest Sub-Array with the sum of the elements equal to the given value K.
Example 1:
Input :
A[] = {10, 5, 2, 7, 1, 9}
K = 15
Output :
Example 1:
Input :
A[] = {10, 5, 2, 7, 1, 9}
K = 15
Output :