๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
ude<bits/stdc++.h>
// bigger smaller code
using namespace std;



int main() {
int n,k;
cin>>n>>k;
vector<int> arr(n);
multiset<int> s;
set<int> ss;
set<int>::iterator it;
for(int i=0;i<n;i++){
cin>>arr[i];
s.insert(arr[i]);
ss.insert(arr[i]);
}
while(k--){
if(ss.size()==1){
break;
}
it=ss.begin();
int first =*it;
ss.erase(it);
it=ss.begin();
int second=*it;
ss.erase(it);
ss.insert(second-1);
ss.insert(first+1);
auto it1=s.lower_bound(first);
s.erase(it1);
auto it2=s.lower_bound(second);
s.erase(it2);
s.insert(second-1);
s.insert(first+1);

}
int ans=0;
for(auto it:ss)
ans=max(ans,it);
cout<<ans<<endl;
return 0;

Bigger to Smaller (C++)
IDFC
Adding work experience to your resume increases your chances of landing a job as a fresher exponentially. While having theoretical knowledge and good marks is excellent, having practical experience will set you apart from your competition
๐Ÿ‘1
๐Ÿ“ŒWIPRO INTERVIEW EXPERIENCE (ECE)
1)Introduction
2)Project
3)What is Arduino
4)Difference between microprocessor and microcontroller
5) oops concepts
6) relocate
7) education gap
8) current cgpa, backlog
That's it..