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
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❤️
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