COGNIZANT EXAM HELP GROUP
3.55K subscribers
5.3K photos
21 videos
10 files
3.22K links
๐Ÿš€ Placement Preparation Hub

๐ŸŽ“ From Preparation to Placement

โšก OA Support โ€ข Coding โ€ข Aptitude โ€ข Technical โ€ข HR

๐ŸŒŸ Trusted by Hundreds of Students

๐Ÿ† 372+ Placement Successes โœ…

๐Ÿ“ฉ DM: @Mrtrueliving_ix

๐Ÿ’™ Turning Aspirations into Offer Letters.
Download Telegram
miniOrange 12.00 pm slot available


Ping me who want Help


#paid help โค๏ธ
COGNIZANT EXAM HELP GROUP pinned ยซminiOrange 12.00 pm slot available Ping me who want Help #paid help โค๏ธยป
This media is not supported in your browser
VIEW IN TELEGRAM
COGNIZANT EXAM HELP GROUP
Photo
#include <iostream>
#include <vector>
using namespace std;

int giveChocolates(vector<int>& childrenRatings) {
int n = childrenRatings.size();
vector<int> ch(n, 1);

for (int i = 1; i < n; ++i) {
if (childrenRatings[i] > childrenRatings[i - 1]) {
ch[i] = ch[i - 1] + 1;
}
}

for (int i = n - 2; i >= 0; --i) {
if (childrenRatings[i] > childrenRatings[i + 1]) {
ch[i] = max(ch[i], ch[i + 1] + 1);
}
}

int sumChocolates = 0;
for (int chocolates : ch) {
sumChocolates += chocolates;
}

return sumChocolates;
}

int main() {
vector<int> ratings = {1, 3, 4, 3, 2, 1};
cout << "Total chocolates: " << giveChocolates(ratings) << endl;
return 0;
}


Chocolate -cppโœ…๐Ÿ’ฏ
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Login time is changed


Mostly 2.20 pm we will start โค๏ธ
def largestComponent(pcbGrid):
if not pcbGrid:
return 0

m = len(pcbGrid)
n = len(pcbGrid[0])
max_size = 0

def codealpha(i, j):
if i < 0 or i >= m or j < 0 or j >= n or pcbGrid[i][j] == 0:
return 0



size = 1


size += codealpha(i+1, j)
size += codealpha(i-1, j)
size += codealpha(i, j+1)
size += codealpha(i, j-1)
size += codealpha(i+1, j+1)
size += codealpha(i+1, j-1)
size += codealpha(i-1, j+1)
size += codealpha(i-1, j-1)

return size


for i in range(m):
for j in range(n):
if pcbGrid[i][j] == 1:
component_size = codealpha(i, j)
max_size = max(max_size, component_size)

return max_size


10/10 miniOrange ๐Ÿ’ฏ
Print pretty- miniOrange โœ…
MinimumTrcksโœ… - miniOrange ๐Ÿ’ฏ
miniOrange test accomplishedโค๏ธ


Share our page I will post 4pm slot answer freeโค๏ธ
COGNIZANT EXAM HELP GROUP
https://docs.google.com/forms/d/e/1FAIpQLScYrwrHDEEa5j3hffk367zMkfQnNKXaApi3AyhyccZ_VFwJCg/viewform Q Minds
Check your mails....โค๏ธ๐Ÿ’ฏ

All the best dear members




DM for you needs help


๐Ÿ”‹๐ŸŽ‰๐Ÿค—
Accenture 12th 10am slot

Test accomplished โค๏ธ๐Ÿค—

90/90 MCQ s // 2/2 coding ๐Ÿ‘

#pic sharing

DM for any kind of OA


@Mrtrueliving_ix


@Mrtrueliving_ix
Mini orange ๐ŸŠ

Role : software Engineer ๐Ÿš€โœ๏ธ

Test accomplished โค๏ธ



DM for any kind of OA

Accenture 7pm slot available โค๏ธ


๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

@Mrtrueliving_ix

@Mrtrueliving_ix

@Mrtrueliving_ix
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Valley sequence ๐Ÿ‘๐Ÿ’ฏ๐Ÿš€-miniOrange
๐Ÿ”ฅ1