Coding All slot Solution
رفتن به کانال در Telegram
500+ Placement & Competitive Exam Materials 75+ Companies Materials 100+ JOB Updates in a Month 🚀DM for Promotion @Wren_0 🚀Placement Updates: @offcampusjobs_0 🌟 Placment Material: @placement_materials0
نمایش بیشترالهنددسته بندی مشخص نشده است
2 221
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
Hi Undefined Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Chinmay Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
class GFG{
// Function to return the maximum
// water that can be stored
public static int maxWater(int[] arr, int n)
{
// To store the maximum water
// that can be stored
int res = 0;
// For every element of the array
// except first and last element
for(int i = 1; i < n - 1; i++)
{
// Find maximum element on its left
int left = arr[i];
for(int j = 0; j < i; j++)
{
left = Math.max(left, arr[j]);
}
// Find maximum element on its right
int right = arr[i];
for(int j = i + 1; j < n; j++)
{
right = Math.max(right, arr[j]);
}
// Update maximum water value
res += Math.min(left, right) - arr[i];
}
return res;
}
// Driver code
public static void main(String[] args)
{
int[] arr = { 0, 1, 0, 2, 1, 0,
1, 3, 2, 1, 2, 1 };
int n = arr.length;
System.out.print(maxWater(arr,n));
}
}
Rainwater Preservation
Repost from Off Campus job Updates- Placement Material
Full stack Developers are high in demand 🔥
Looking for Full stack Developer Job? Or want to switch to Developers role? 😇
Also From non coding, non IT background our students are getting 5-24 LPA jobs in top product based companies like Amazon, Adobe, Microsoft etc.
what are you waiting for!!
Greetings from 10x Academy, 🤗
Become a *Full-stack developer* in 24 weeks and get Guaranteed jobs between 5-24LPA
We are excited to inform you about our upcoming 2-day *Free Masterclass* which will be presented by instructors from top Product-based company.
*Grab your free seats now*
*Masterclass is starting from 12th August*
100% Attendance in this master class also entitles you to get a direct entry into our Pay after placement 6 month Guaranteed Job Bootcamp.
Register yourself by clicking on the link below:
👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
https://forms.gle/kZq4irR15a2nbzyP7
Happy Learning!
Gersi Leka [
5550036527] is sending a spam message.
Action: Warn (1/3) ❕ until 01/10/2022 19:52.Repost from Daily jobs Updates
🚨FOLLOW OUR INSTAGRAM PAGE GUYS:-
https://www.instagram.com/p/CuCD6IQLsrL/?utm_source=ig_web_copy_link&igshid=MzRlODBiNWFlZA==
Hi Apurba Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
