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
Streetlight// CGi👍
Please open Telegram to view this post
VIEW IN TELEGRAM
Namma Yatri code available

DM @mrtrueliving_ix👍
Please open Telegram to view this post
VIEW IN TELEGRAM
Successfully Placed in ReBiT // 4.5Lpa


Mumbai

Congratulations 🎉 ❤️



https://t.me/code_alphix/3206
Prev:

https://t.me/code_alphix/3182

All placement help available

-@mrtrueliving_ix

-@mrtrueliving_ix📣▶️☄️

💯Geniune & success rate 🔥

All placement help With remote access

#REBit #Shortlisted
🎉2🏆1
Forwarded from COGNIZANT EXAM HELP GROUP (Mr Trueliving_ix)
mrtrueliving_ix☄️

mrtrueliving_ix
▶️


😎All placement help available 😔


👨‍💻🔘 MCQ + Coding Help 🔘 👨‍💻

All Coding+MCQs Exams help Available
❤️

Aptitude + coding Help
👑

Remote Access Available
✔️

Proofs will be provided
✔️✔️

💯
😔Genuine Help

🔥All Companies help Available (Genuine + Clearance guarantee) ▶️


Accenture (MCQ+ Coding)
Capgemini
Cognizant
Wipro
Deloitte
Infosys
Tech Mahindra
Paytm
Samsung
Linkdin

All Mnc help available

@mrtrueliving_ix☄️

@mrtrueliving_ix▶️


💯 Test Clearance
✔️


😎All placement help available 😔


👨‍💻🔘 MCQ + Coding Help 🔘 👨‍💻
Please open Telegram to view this post
VIEW IN TELEGRAM
Amazon -SDE


Both Codes are done with pics sharing ☺️

All placement help available

OA HELP :
@mrtrueliving_ix
Turing -python developer

Both codes are done

All placement exam help available

OA HELP:
@mrtrueliving_ix

#Turing #python #remote #Done
Turing -python developer

Both codes are done

All placement exam help available

OA HELP:
@mrtrueliving_ix

#Turing #python #remote #Done
Goldman Sachs

Accenture On campus

Amazon -SDE

IBM

Oracle

All OA HELP AVAILABLE

DM OA @mrtrueliving_ix

💯 Safe & Success rate


All placement help available


-@mrtrueliving_ix

-@mrtrueliving_ix
#include <vector> 
#include <algorithm>

int getMinimumSeconds(std::vector<int>& fileSize) {
int n = fileSize.size();
std::vector<std::pair<int, int>> filesWithIndices(n);
for (int i = 0; i < n; ++i) {
filesWithIndices[i] = {fileSize[i], i};
}

// Sort by file size, then by original index to maintain stability
std::sort(filesWithIndices.begin(), filesWithIndices.end());

// Map original indices to their positions in the sorted array
std::vector<int> sortedIndex(n);
for (int i = 0; i < n; ++i) {
sortedIndex[filesWithIndices[i].second] = i;
}

int maxShift = 0;
for (int i = 0; i < n; ++i) {
int shift = i - sortedIndex[i];
if (shift > maxShift) {
maxShift = shift;
}
}

return maxShift;
}

int main() {
int n;
std::cin >> n;
std::vector<int> fileSize(n);
for (int i = 0; i < n; ++i) {
std::cin >> fileSize[i];
}

int result = getMinimumSeconds(fileSize);
std::cout << result << std::endl;

return 0;
}

Agoda intern
#include <cmath>
#include <cstdlib>

bool isValidTriangle(int x1, int y1, int x2, int y2, int x3, int y3);
double distance(int x1, int y1, int x2, int y2);
bool isPointInTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int xp, int yp);
double triangleArea(int x1, int y1, int x2, int y2, int x3, int y3);

int pointsBelong(int x1, int y1, int x2, int y2, int x3, int y3, int xp, int yp, int xq, int yq) {
if (!isValidTriangle(x1, y1, x2, y2, x3, y3)) {
return 0;
}

bool pBelongs = isPointInTriangle(x1, y1, x2, y2, x3, y3, xp, yp);
bool qBelongs = isPointInTriangle(x1, y1, x2, y2, x3, y3, xq, yq);

if (pBelongs && qBelongs) {
return 3;
} else if (pBelongs) {
return 1;
} else if (qBelongs) {
return 2;
} else {
return 4;
}
}

bool isValidTriangle(int x1, int y1, int x2, int y2, int x3, int y3) {
double ab = distance(x1, y1, x2, y2);
double bc = distance(x2, y2, x3, y3);
double ac = distance(x1, y1, x3, y3);
return (ab + bc > ac) && (bc + ac > ab) && (ac + ab > bc);
}

double distance(int x1, int y1, int x2, int y2) {
return std::sqrt(std::pow(x2 - x1, 2) + std::pow(y2 - y1, 2));
}

bool isPointInTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int xp, int yp) {
double areaABC = triangleArea(x1, y1, x2, y2, x3, y3);
double areaPAB = triangleArea(xp, yp, x1, y1, x2, y2);
double areaPAC = triangleArea(xp, yp, x1, y1, x3, y3);
double areaPBC = triangleArea(xp, yp, x2, y2, x3, y3);

return std::abs((areaPAB + areaPAC + areaPBC) - areaABC) < 1e-9;
}

double triangleArea(int x1, int y1, int x2, int y2, int x3, int y3) {
return std::abs(x1 * (y2 - y3) + x2 * (y3 - y1) + x3 * (y1 - y2)) / 2.0;
}

Agoda
#include <bits/stdc++.h>  
long getTotalSteps(vector<int>& ht) {
long ans=0,cnt=0;
sort(ht.begin(),ht.end());

for(int i=0;i<ht.size();i++){

if(i<ht.size()-1&&ht[i]!=ht[i+1]){

cnt++;

ans+=cnt;

}
else if(i!=ht.size()-1) ans+=cnt;


}

return ans;

}

Agoda
Get ready for Goldman Sachs ❤️

OA HELP
@MRTRUELIVING_IX

💯 TEST CLEARANCE