ATS resume help
Kanalga Telegram’da o‘tish
WhatsApp Me https://wa.me/917674087200 ✅ ATS-Friendly Resumes ✅ Higher Interview Calls ✅ Free Tips + Templates
Ko'proq ko'rsatish3 691
Obunachilar
-324 soatlar
-207 kun
-8630 kun
Postlar arxiv
3 690
#include<bits/stdc++.h>
using namespace std;
vector<int> smallestRange(vector<vector<int>>& nums) {
vector<int>res={-100000,100000};
int k=nums.size();
int maxi=INT_MIN;
priority_queue<vector<int>,vector<vector<int>>,greater<vector<int>>>pq;
for(int i=0;i<k;i++){
int num=nums[i][0];
vector<int>vec{num,0,i};
//0th minimum element of list
//1st index of element from the vector
//2nd index of the vector
//1st <4,0,0> 2nd <0,0,1> 3rd <5,0,2>
maxi=max(maxi,num);//took the max of members //5
pq.push(vec);
//<0,0,1><4,0,0><5,0,2>
}
while(true){//until condition breaks
vector<int>minval=pq.top();//<0,0,1>
pq.pop();//<4,0,0><5,0,2>
if(res[1]-res[0]>maxi-minval[0]){//5-0=5
res[0]=minval[0];//res[0]=0
res[1]=maxi;//res[1]=5
}
minval[1]++;//<0,1,1>,now from which we poped element in queue that min element containing vector , we should choose another element
vector<int>vec2=nums[minval[2]];//minval[2]=1,so <0,9,12,20>
if(minval[1]==vec2.size()){//1!=4
break;
}
else{
minval[0]=vec2[minval[1]];//minival[0]=vec2[1]=9
maxi=max(maxi,vec2[minval[1]]);//maxi=max(5,9)=9
pq.push(minval);//push <9,1,1>
}
}
return res;
}
int main(){
int m,n;
cin>>m>>n;
vector<vector<int>>v(m,vector<int>(n));
for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
cin>>v[i][j];
}
sort(v[i].begin(),v[i].end());
}
vector<int> ans = smallestRange(v);
cout<<ans[0]<<" "<<ans[1];
}
E comm
Amazon ✅
3 690
Amazon software dev engineer intern role hiring
Check eligibility criteria and apply through Below links and
Get instant exam links
https://www.amazon.jobs/en/jobs/2415936/software-dev-engineer-intern
3 690
Whirlpool sending exam mails
Apply as soon as possible
http://surl.li/jzwjj
http://surl.li/jzwjj
http://surl.li/jzwjj
3 690
Guys Don't miss this opportunity
.......................................................
HCLTech Off Campus Drive 2023 for Freshers in Multiple Tech Roles
🎖 Degree: Any Degree
🔰 Batch: 2020-2023
💰 CTC - ₹ 5.6 LPA*
⭕ Apply Link:- https://www.hcltech.com/careers/campus-hiring#
.......................................................
❗️NTT Hiring Graduate Trainee Engineer
🧰Degree: Any Graduation
🎖Batch: 2018-2023
💰CTC: Upto 6.2 LPA
📝 Apply Link: https://careers.services.global.ntt/global/en/job/NTT1GLOBALR101060EXTERNALENGLOBAL/Graduate-Trainee-Engineer?utm_source=glassdoor&utm_medium=phenom-feeds
3 690
Guys Don't miss this opportunity
.......................................................
HCLTech Off Campus Drive 2023 for Freshers in Multiple Tech Roles
🎖 Degree: Any Degree
🔰 Batch: 2020-2023
💰 CTC - ₹ 5.6 LPA*
⭕ Apply Link:- https://www.hcltech.com/careers/campus-hiring#
.......................................................
❗️NTT Hiring Graduate Trainee Engineer
🧰Degree: Any Graduation
🎖Batch: 2018-2023
💰CTC: Upto 6.2 LPA
📝 Apply Link: https://careers.services.global.ntt/global/en/job/NTT1GLOBALR101060EXTERNALENGLOBAL/Graduate-Trainee-Engineer?utm_source=glassdoor&utm_medium=phenom-feeds
3 690
Guys Don't miss this opportunity
.......................................................
HCLTech Off Campus Drive 2023 for Freshers in Multiple Tech Roles
🎖 Degree: Any Degree
🔰 Batch: 2020-2023
💰 CTC - ₹ 5.6 LPA*
⭕ Apply Link:- https://www.hcltech.com/careers/campus-hiring#
.......................................................
❗️NTT Hiring Graduate Trainee Engineer
🧰Degree: Any Graduation
🎖Batch: 2018-2023
💰CTC: Upto 6.2 LPA
📝 Apply Link: https://careers.services.global.ntt/global/en/job/NTT1GLOBALR101060EXTERNALENGLOBAL/Graduate-Trainee-Engineer?utm_source=glassdoor&utm_medium=phenom-feeds
3 690
Guys Don't miss this opportunity
Capgemini Mega Freshers Inviting 2023 For Analyst
🎖 Degree: Any Degree
🔰 Batch: Any Batches
⭕ Apply:- https://jobforfresher.in/capgemini-hiring-fresher-drive-2023/
.......................................................
HCLTech Off Campus Drive 2023 for Freshers in Multiple Tech Roles
🎖 Degree: Any Degree
🔰 Batch: 2020-2023
💰 CTC - ₹ 5.6 LPA*
⭕ Apply Link:- https://www.hcltech.com/careers/campus-hiring#
.......................................................
❗️NTT Hiring Graduate Trainee Engineer
🧰Degree: Any Graduation
🎖Batch: 2018-2023
💰CTC: Upto 6.2 LPA
📝 Apply Link: https://careers.services.global.ntt/global/en/job/NTT1GLOBALR101060EXTERNALENGLOBAL/Graduate-Trainee-Engineer?utm_source=glassdoor&utm_medium=phenom-feeds
3 690
Guys Don't miss this opportunity
Capgemini Mega Freshers Inviting 2023 For Analyst
🎖 Degree: Any Degree
🔰 Batch: Any Batches
⭕ Apply:- https://jobforfresher.in/capgemini-hiring-fresher-drive-2023/
.......................................................
HCLTech Off Campus Drive 2023 for Freshers in Multiple Tech Roles
🎖 Degree: Any Degree
🔰 Batch: 2020-2023
💰 CTC - ₹ 5.6 LPA*
⭕ Apply Link:- https://www.hcltech.com/careers/campus-hiring#
.......................................................
❗️NTT Hiring Graduate Trainee Engineer
🧰Degree: Any Graduation
🎖Batch: 2018-2023
💰CTC: Upto 6.2 LPA
📝 Apply Link: https://careers.services.global.ntt/global/en/job/NTT1GLOBALR101060EXTERNALENGLOBAL/Graduate-Trainee-Engineer?utm_source=glassdoor&utm_medium=phenom-feeds
