Given an adjacency matrix and 2 integers S and T. The task is to find minimum capacity s-t cut of the given network.
Full problem:
https://practice.geeksforgeeks.org/problems/find-minimum-s-t-cut-in-a-flow-network/0
Full problem:
https://practice.geeksforgeeks.org/problems/find-minimum-s-t-cut-in-a-flow-network/0
practice.geeksforgeeks.org
Find minimum s-t cut in a flow network | Practice | GeeksforGeeks
Given a weighted graph of N vertices numbered from 0 to N-1 in the form of adjacency matrix A[ ][ ] and two integers S denoting the number of source vertex and T denoting the number of sink vertex. The task is to find minimum capacity
Given an array arr[] of N positive integers. The task is to find the greatest smaller on left of every element in the array.
https://practice.geeksforgeeks.org/problems/smaller-on-left2036/0
https://practice.geeksforgeeks.org/problems/smaller-on-left2036/0
practice.geeksforgeeks.org
Smaller on Left | Practice | GeeksforGeeks
Given an array arr[ ] of N positive integers, the task is to find the greatest element on the left of every element in the array which is strictly smaller than itself, if this element does not exist for an index print "-1".
Example 1:
Example 1:
Hearing interview experiences helps one prepare better.
Hear Ms. Harsimran Kaur narrate her interview experience @ Salesforce today at 5 PM IST.
Set Reminder Now: https://youtu.be/vy72TTFAVCk
Hear Ms. Harsimran Kaur narrate her interview experience @ Salesforce today at 5 PM IST.
Set Reminder Now: https://youtu.be/vy72TTFAVCk
Rahul and Ankit are the only two waiters in Royal Restaurant. Today, the restaurant received N orders. The amount of tips may differ when handled by different waiters,.....
Full problem:
https://practice.geeksforgeeks.org/problems/maximum-tip-calculator/0
Full problem:
https://practice.geeksforgeeks.org/problems/maximum-tip-calculator/0
practice.geeksforgeeks.org
Maximum Tip Calculator | Practice | GeeksforGeeks
Rahul and Ankit are the only two waiters in Royal Restaurant. Today, the restaurant received N orders. The amount of tips may differ when handled by different waiters, if Rahul takes the ith order, he would be tipped Ai rupees and if Ankit takes this
Are you participating in 30 days of code with GFG?
Anonymous Poll
44%
Yes
31%
No
26%
Will start from today
Don't wait, just grab this offer for your all round preparation.
Link: https://practice.geeksforgeeks.org/courses/dsa-doubt-assistance
Link: https://practice.geeksforgeeks.org/courses/dsa-doubt-assistance
Given arrival and departure times of all trains that reach a railway station. Your task is to find the minimum number of platforms required for the railway station so that no train waits.
Full Problem:
https://practice.geeksforgeeks.org/problems/minimum-platforms/0
Full Problem:
https://practice.geeksforgeeks.org/problems/minimum-platforms/0
www.geeksforgeeks.org
Minimum Platforms | Practice | GeeksforGeeks
Given arrival arr[] and departure dep[] times of trains on the same day, find the minimum number of platforms needed so that no train waits. A platform cannot serve two trains at the same time; if a train arrives before another departs, an extra plat
In today's webinar, hear Mr. Rizwan Ahmed Khan talk about his interview experience at Octro Inc.
When? It's 7 PM IST
Set reminder now:https://youtu.be/pMBivxvfEDI
When? It's 7 PM IST
Set reminder now:https://youtu.be/pMBivxvfEDI
There are two parallel roads, each containing N and M buckets, respectively. Each bucket may contain some balls.
Full problem:
https://practice.geeksforgeeks.org/problems/geek-collects-the-balls/0
Full problem:
https://practice.geeksforgeeks.org/problems/geek-collects-the-balls/0
practice.geeksforgeeks.org
Geek collects the balls | Practice | GeeksforGeeks
There are two parallel roads, each containing N and M buckets, respectively. Each bucket may contain some balls. The balls in first road are given in an array a and balls in the second road in an array b. The buckets on both roads are kept in su
Mayank once came to New Delhi for an International Mathematics Conference. His mathematics skills were a great topic of discussion in those days.
Full problem:
https://practice.geeksforgeeks.org/problems/castle-run/0
Full problem:
https://practice.geeksforgeeks.org/problems/castle-run/0
practice.geeksforgeeks.org
Castle RUN | Practice | GeeksforGeeks
Mayank once came to New Delhi for an International Mathematics Conference. His mathematics skills were a great topic of discussion in those days. So a mathematician Harsh βChallengedβ Mayank for a competition and Mayank accepted it.
Hear Mr. Ayush Raghuwanshi narrate his interview experience at TCS Ninja. Take your notes for your next off-campus interview! Today at 5 PM IST.
Set Reminder now: https://youtu.be/PK1p7Q0iPKU
Set Reminder now: https://youtu.be/PK1p7Q0iPKU
Given an array of N numbers, we need to maximize the sum of selected numbers. At each step, you need to select a number Ai, delete one occurrence of Ai-1 (if exists)....
Full problem:
https://practice.geeksforgeeks.org/problems/maximize-the-sum-of-selected-numbers-from-an-array-to-make-it-empty/0
Full problem:
https://practice.geeksforgeeks.org/problems/maximize-the-sum-of-selected-numbers-from-an-array-to-make-it-empty/0
practice.geeksforgeeks.org
Maximize the sum of selected numbers from an array to make it empty | Practice | GeeksforGeeks
Given a sorted array of N numbers, we need to maximize the sum of selected numbers. At each step, you need to select a number Ai, delete one occurrence of Ai-1 (if exists), and Ai each from the array. Repeat these steps until the array gets
π1
Akku have solved many problems, she is genius. One day her friend gave her an Array and asked her to perform
some queries of following type:
Full Problem:
https://practice.geeksforgeeks.org/problems/akku-and-arrays/0
some queries of following type:
Full Problem:
https://practice.geeksforgeeks.org/problems/akku-and-arrays/0
practice.geeksforgeeks.org
Akku and Arrays | Practice | GeeksforGeeks
Akku have solved many problems, she is genius. One day her friend gave her an Array and asked her to perform
some queries of following type:
Each query consists of three integers
1 A B : Update the Array at index A by value B
2 A B : if the subar
some queries of following type:
Each query consists of three integers
1 A B : Update the Array at index A by value B
2 A B : if the subar
In today's webinar, hear Mr. Prakhar Shukla share his interview experience at Capgemini. Learn from his strategies, preparations and practice patterns.
Be ready at 7 PM IST.
Set Reminder: https://youtu.be/vbCK93b75Cs
Be ready at 7 PM IST.
Set Reminder: https://youtu.be/vbCK93b75Cs
Every house in the colony has at most one pipe going into it and at most one pipe going out of it. Tanks and taps are to be installed in a manner such that every house with one outgoing pipe but .....
Full problem:
https://practice.geeksforgeeks.org/problems/water-connection-problem/0
Full problem:
https://practice.geeksforgeeks.org/problems/water-connection-problem/0
www.geeksforgeeks.org
Water Connection Problem | Practice | GeeksforGeeks
Given n houses (numbered 1 to n) and p pipes connecting them, where each pipe is described by a[i], b[i], and d[i] - a pipe of diameter d[i] running from house a[i] to house b[i].
Every house has at most one outgoing pipe and at most one incomi
Every house has at most one outgoing pipe and at most one incomi
Hear Mr. Rajat Gupta share his interview experience at Microsoft today at 5 PM IST.
Link: https://youtu.be/NsFbJqABZGo
Link: https://youtu.be/NsFbJqABZGo
Given an array A of n integers (always a power of 2) and q queries.
Every Query consists of two elements index and value. We need to write a program that assigns the value to Aindex and....
Full problem:
https://practice.geeksforgeeks.org/problems/element-left-after-performing-alternate-or-xor-operation/0
Every Query consists of two elements index and value. We need to write a program that assigns the value to Aindex and....
Full problem:
https://practice.geeksforgeeks.org/problems/element-left-after-performing-alternate-or-xor-operation/0
practice.geeksforgeeks.org
Element left after performing alternate OR & XOR operation | Practice | GeeksforGeeks
Given an array A of N integers and a 2D matrix denoting q queries. Each query consists of two elements, index and value. Update value at index in A for each query and then perform the following operations to get the result for that query.
1. Perform
1. Perform
Shoot your questions/queries on Twitter with #AskGFG and get your answers this weekend.
Go Tweet Now!!
Go Tweet Now!!
A given series 3, 5, 9, 11, 15, 21, 29, ... and so on. You need to identify the pattern and determine whether the input number ( n ) is a part of the given series or not.
Full problem:
https://practice.geeksforgeeks.org/problems/part-of-it/0
Full problem:
https://practice.geeksforgeeks.org/problems/part-of-it/0
practice.geeksforgeeks.org
Part of it. | Practice | GeeksforGeeks
A given series 3, 5, 9, 11, 15, 21, 29, ... and so on. You need to identify the pattern and determine whether the input number ( n ) is a part of the given series or not. If yes then return "Yes", otherwise "No".
Examp
Examp
Our experts are ready for the Mega Workshop. Are you ready with your queries?
Submit your questions/queries here: https://forms.gle/w8NDnUWahZ2V9iBFA
And get answers this weekend.
Submit your questions/queries here: https://forms.gle/w8NDnUWahZ2V9iBFA
And get answers this weekend.