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
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 βœ…
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘βœ…
Codes are available

DM @mrtrueliving_ix

Plag freeβœ