๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
ll solve(vector<ll>&a,ll k) { ll n=a.size(); vector<ll>dp(n); for(ll i=n-1;i>=0;i--) { if(i+k<n) dp[i]=a[i]+dp[i+k]; else dp[i]=a[i]; } ll ans=INT_MIN; // for(auto it:dp) cout<<it<<" "; for(auto it:dp) ans=max(ansโฆ
Maximum Information โ
#include <iostream>
#include <vector>
#include <unordered_map>
#include <algorithm>
using namespace std;
vector<vector<string>> solve(vector<string>& strs) {
unordered_map<string, vector<string>> mp;
for (string s : strs) {
string t = s;
sort(t.begin(), t.end());
mp[t].push_back(s);
}
vector<vector<string>> anagrams;
for (auto p : mp) {
anagrams.push_back(p.second);
}
return anagrams;
}
int main() {
int n;
cin >> n;
vector<string> strs(n);
for (int i = 0; i < n; i++) {
cin >> strs[i];
}
vector<vector<string>> ans = solve(strs);
int maxi= 0;
for (auto g : ans) {
maxi = max(maxi, (int)g.size());
}
for (auto g : ans) {
if (g.size() == maxi) {
for (string s : g) {
cout << s << " ";
}
cout << endl;
}
}
return 0;
}
Anagram
Salesforce โ
#include <vector>
#include <unordered_map>
#include <algorithm>
using namespace std;
vector<vector<string>> solve(vector<string>& strs) {
unordered_map<string, vector<string>> mp;
for (string s : strs) {
string t = s;
sort(t.begin(), t.end());
mp[t].push_back(s);
}
vector<vector<string>> anagrams;
for (auto p : mp) {
anagrams.push_back(p.second);
}
return anagrams;
}
int main() {
int n;
cin >> n;
vector<string> strs(n);
for (int i = 0; i < n; i++) {
cin >> strs[i];
}
vector<vector<string>> ans = solve(strs);
int maxi= 0;
for (auto g : ans) {
maxi = max(maxi, (int)g.size());
}
for (auto g : ans) {
if (g.size() == maxi) {
for (string s : g) {
cout << s << " ";
}
cout << endl;
}
}
return 0;
}
Anagram
Salesforce โ
๐3๐2
int calc(long long n) {
long long t = sqrt(n * 2);
while(t * (t + 1) / 2 > n) t--;
while((t + 1) * (t + 2) / 2 <= n) t++;
return t;
};
void getMaxHeight() {
long long n, m; cin >> n >> m;
int turn = 0;
int ans = 0;
int res = 0;
res = max(calc(n), calc(m));
for(int i = 1; i <= 1000000000; i++) {
if(!turn) {
if(n < i) {
break;
} else {
n -= i;
ans++;
res = max(res, ans + calc(m));
}
} else {
if(m < i) {
break;
} else {
m -= i;
ans++;
res = max(res, ans + calc(n));
}
}
turn ^= 1;
}
cout << max(ans, res);
}
Trailhead โ
Salesforce
long long t = sqrt(n * 2);
while(t * (t + 1) / 2 > n) t--;
while((t + 1) * (t + 2) / 2 <= n) t++;
return t;
};
void getMaxHeight() {
long long n, m; cin >> n >> m;
int turn = 0;
int ans = 0;
int res = 0;
res = max(calc(n), calc(m));
for(int i = 1; i <= 1000000000; i++) {
if(!turn) {
if(n < i) {
break;
} else {
n -= i;
ans++;
res = max(res, ans + calc(m));
}
} else {
if(m < i) {
break;
} else {
m -= i;
ans++;
res = max(res, ans + calc(n));
}
}
turn ^= 1;
}
cout << max(ans, res);
}
Trailhead โ
Salesforce
๐1
const int N = 2000 + 10;
int cnt[N][N], dp[N][N];
float highest_density(vector<vector<int>> points) {
vector<int> c;
for(auto x : points) {
c.push_back(x[0]);
c.push_back(x[1]);
}
sort(c.begin(), c.end());
c.resize(unique(c.begin(), c.end()) - c.begin());
for(auto &p : points) {
for(auto &x : p) {
x = lower_bound(c.begin(), c.end(), x) - c.begin() + 1;
}
cnt[p[0]][p[1]]++;
}
for(int i = 1; i <= 2000; i++) {
for(int j = 1; j <= 2000; j++) {
dp[i][j] = cnt[i][j] + dp[i - 1][j] + dp[i][j - 1] - dp[i - 1][j - 1];
}
}
float ans = -1.0;
for(int i = 0; i < points.size(); i++) {
for(int j = i + 1; j < points.size(); j++) {
int x = points[i][0], y = points[i][1];
int u = points[j][0], v = points[j][1];
if(x > u) swap(x, u);
if(y > v) swap(y, v);
if(x == u || y == v) continue;
if(!cnt[x][y]!cnt[u][v] !cnt[x][v] || !cnt[u][y]) continue;
float S = (c[u - 1] - c[x - 1]);
float T = (c[v - 1] - c[y - 1]);
x++; u--; y++; v--;
ans = max(ans, (float)0);
if(x > u || y > v) continue;
float pp = dp[u][v] - dp[x - 1][v] - dp[u][y - 1] + dp[x - 1][y - 1];
pp = pp / S;
pp = pp / T;
ans = max(ans, pp);
}
}
return ans;
}
Rectangle
Salesforce โ
int cnt[N][N], dp[N][N];
float highest_density(vector<vector<int>> points) {
vector<int> c;
for(auto x : points) {
c.push_back(x[0]);
c.push_back(x[1]);
}
sort(c.begin(), c.end());
c.resize(unique(c.begin(), c.end()) - c.begin());
for(auto &p : points) {
for(auto &x : p) {
x = lower_bound(c.begin(), c.end(), x) - c.begin() + 1;
}
cnt[p[0]][p[1]]++;
}
for(int i = 1; i <= 2000; i++) {
for(int j = 1; j <= 2000; j++) {
dp[i][j] = cnt[i][j] + dp[i - 1][j] + dp[i][j - 1] - dp[i - 1][j - 1];
}
}
float ans = -1.0;
for(int i = 0; i < points.size(); i++) {
for(int j = i + 1; j < points.size(); j++) {
int x = points[i][0], y = points[i][1];
int u = points[j][0], v = points[j][1];
if(x > u) swap(x, u);
if(y > v) swap(y, v);
if(x == u || y == v) continue;
if(!cnt[x][y]
float S = (c[u - 1] - c[x - 1]);
float T = (c[v - 1] - c[y - 1]);
x++; u--; y++; v--;
ans = max(ans, (float)0);
if(x > u || y > v) continue;
float pp = dp[u][v] - dp[x - 1][v] - dp[u][y - 1] + dp[x - 1][y - 1];
pp = pp / S;
pp = pp / T;
ans = max(ans, pp);
}
}
return ans;
}
Rectangle
Salesforce โ
๐2
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Software Development Engineer Intern at BosonQ Psi (BQP)
2025 Batch
6 Month Intern and chance of PPO
https://www.linkedin.com/jobs/view/3888328596
2025 Batch
6 Month Intern and chance of PPO
https://www.linkedin.com/jobs/view/3888328596
Do you enjoy reading this channel?
Perhaps you have thought about placing ads on it?
To do this, follow three simple steps:
1) Sign up: https://telega.io/c/cs_algo
2) Top up the balance in a convenient way
3) Create an advertising post
If the topic of your post fits our channel, we will publish it with pleasure.
Perhaps you have thought about placing ads on it?
To do this, follow three simple steps:
1) Sign up: https://telega.io/c/cs_algo
2) Top up the balance in a convenient way
3) Create an advertising post
If the topic of your post fits our channel, we will publish it with pleasure.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Python Developer @Intern(2024 Batch)
https://app.pyjamahr.com/careers?company=Ovidtech%20Technologies&job_id=91117&company_uuid=BB205FF2F3
https://app.pyjamahr.com/careers?company=Ovidtech%20Technologies&job_id=91117&company_uuid=BB205FF2F3
Pyjamahr
Apply For Python Developer @Intern(2024 Batch)
<div><strong style="color: var(--N800);">Role & responsibilities</strong></div><div>We are currently seeking a talented and experienced Python Developer with a strong background in algorithmic trading to join our growing team.</div><div><strong style="color:โฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Sign Up | LinkedIn
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Tower Research Capital
Role : ML Internship
Batch : 2024/2025 passouts
Link : https://www.tower-research.com/open-positions
Role : ML Internship
Batch : 2024/2025 passouts
Link : https://www.tower-research.com/open-positions
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Flipkart
Role : Application Engineer
Batch : 2023 passout females in CSE/IT
CTC : 11.5 LPA
Link : https://docs.google.com/forms/d/e/1FAIpQLSf43yQaD0n7KwlLV0OINyNeeSxVKQUEilPpW6AuPOCbKyMM3w/viewform
Role : Application Engineer
Batch : 2023 passout females in CSE/IT
CTC : 11.5 LPA
Link : https://docs.google.com/forms/d/e/1FAIpQLSf43yQaD0n7KwlLV0OINyNeeSxVKQUEilPpW6AuPOCbKyMM3w/viewform
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : INDMoney
Role : SDE Internship and SDE(2 years experience.)
Batch : 2025/2024 for internship + 2021/2022 for FTE
Link : https://docs.google.com/forms/d/e/1FAIpQLScFJq1Va1-2ZqxQn1ZAUlg33osP81xVOaMsStf_mgbumdjaTA/viewform
Role : SDE Internship and SDE(2 years experience.)
Batch : 2025/2024 for internship + 2021/2022 for FTE
Link : https://docs.google.com/forms/d/e/1FAIpQLScFJq1Va1-2ZqxQn1ZAUlg33osP81xVOaMsStf_mgbumdjaTA/viewform
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
โ๏ธKaar-Infotech Off Campus Drive 2024 for Fresher | B.E/B.Tech/M.E/M.Tech | INR 3-5 LPAโ๏ธ
๐จโ๐ป Job Role : Fresher
๐Qualification : B.E/B.Tech/M.E/M.Tech
๐Batch : 2023 & 2024
๐ฐSalary : 3-5 LPA
โญ๏ธ Apply Fast :
https://www.naukri.com/job-listings-kaar-infotech-fresher-s-recruitment-drive-2024-hurry-up-and-apply-kaar-infotech-hyderabad-coimbatore-erode-0-to-1-years-090424009556
๐จโ๐ป Job Role : Fresher
๐Qualification : B.E/B.Tech/M.E/M.Tech
๐Batch : 2023 & 2024
๐ฐSalary : 3-5 LPA
โญ๏ธ Apply Fast :
https://www.naukri.com/job-listings-kaar-infotech-fresher-s-recruitment-drive-2024-hurry-up-and-apply-kaar-infotech-hyderabad-coimbatore-erode-0-to-1-years-090424009556
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
โ๏ธSnapper-IT Off Campus Drive 2024 for Application Developer | B.E/B.Tech | INR 4-6 LPAโ๏ธ
๐จโ๐ปJob Role : Application Developer
๐Qualification : B.E/B.Tech
๐Experience : Fresher
๐ฐPackage : 4-6 LPA
https://www.snapperit.com/jobs/application-developer-fresher-hyderabad/
๐จโ๐ปJob Role : Application Developer
๐Qualification : B.E/B.Tech
๐Experience : Fresher
๐ฐPackage : 4-6 LPA
https://www.snapperit.com/jobs/application-developer-fresher-hyderabad/
Snapper IT
Application Developer Fresher - Snapper IT
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
We're hiring DevOps Engineers with skills in AWS, basic Java (or C++), troubleshooting, Linux, and git. Interested? DM me only if you think you're skilled enough
#Amazon #DevOps
https://x.com/tush_tr604/status/1778765194581475433
#Amazon #DevOps
https://x.com/tush_tr604/status/1778765194581475433
X (formerly Twitter)
Tushar Rajpoot (@tush_tr604) on X
We're hiring DevOps Engineers with skills in AWS, basic Java (or C++), troubleshooting, Linux, and git. Interested? DM me only if you think you're skilled enough
#Amazon #DevOps #Hiring
#Amazon #DevOps #Hiring
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Changepond recruiting Fresher_Software Developers and Testers_Registration Link given Below
Skills Required: JAVA / Net / Testing/ RPA / SQL/ PHP with Logical and analytical thinking towards programming.
Eligibility:
B.E. / B.Tech/ME/Mtech CSE / IT / ECE / EEE
B.Sc (Computer Science).BCA
MCA,MSC ( Computer Science )
Graduated in 2022 or 2023 Only with 70% and above in all academics
Good Communication
Job Location: SIPCOT, Siruseri, Chennai
Apply link : https://forms.office.com/Pages/ResponsePage.aspx?id=xXv5k9nOHE6DUIaS7Za9oqyRiK_P05VPnXJDDjk1bk1UMjRWVEtJM01LRERZUkNQVVJEWVhHUjlZWi4u
Skills Required: JAVA / Net / Testing/ RPA / SQL/ PHP with Logical and analytical thinking towards programming.
Eligibility:
B.E. / B.Tech/ME/Mtech CSE / IT / ECE / EEE
B.Sc (Computer Science).BCA
MCA,MSC ( Computer Science )
Graduated in 2022 or 2023 Only with 70% and above in all academics
Good Communication
Job Location: SIPCOT, Siruseri, Chennai
Apply link : https://forms.office.com/Pages/ResponsePage.aspx?id=xXv5k9nOHE6DUIaS7Za9oqyRiK_P05VPnXJDDjk1bk1UMjRWVEtJM01LRERZUkNQVVJEWVhHUjlZWi4u
Office
Please fill out this form
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
FresherOpportunityAlert
Hiring for MBA Freshers!
Freshers of 2023/2024 Batch !
Qualifications: MBA- HR / PGDM in HRM
Location: Chennai
Interested candidates please share your updated resume to ganeshkumar.rajakanna@episource.com
Hiring for MBA Freshers!
Freshers of 2023/2024 Batch !
Qualifications: MBA- HR / PGDM in HRM
Location: Chennai
Interested candidates please share your updated resume to ganeshkumar.rajakanna@episource.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
FresherOpportunityAlert
Macro Technology Solutions Hiring Freshers || .Net Trainee Developer for Trichy.
We are looking for candidates with a UG/PG Computer Science background (i.e., 2022/2023/2024) who have strong practical and theoretical knowledge in C/C++, OOPs, SQL, and RDBMS. The candidate should be based out of Trichy and available for immediate joining.
Title: .Net Trainee Developer
Location: Trichy
Duration: Full Time
Terms & Conditions:
The candidate should be from any UG/PG Computer science background (i.e., 2022/2023/2024 passed out).
The candidate should be based out of Trichy (i.e., home location).
The candidate should have consistently scored more than 75% in 10th, 12th, and graduation/post-graduation courses.
We are looking for immediate joiners only.
Interested can mail to hireme@macroglobal.co.uk
Macro Technology Solutions Hiring Freshers || .Net Trainee Developer for Trichy.
We are looking for candidates with a UG/PG Computer Science background (i.e., 2022/2023/2024) who have strong practical and theoretical knowledge in C/C++, OOPs, SQL, and RDBMS. The candidate should be based out of Trichy and available for immediate joining.
Title: .Net Trainee Developer
Location: Trichy
Duration: Full Time
Terms & Conditions:
The candidate should be from any UG/PG Computer science background (i.e., 2022/2023/2024 passed out).
The candidate should be based out of Trichy (i.e., home location).
The candidate should have consistently scored more than 75% in 10th, 12th, and graduation/post-graduation courses.
We are looking for immediate joiners only.
Interested can mail to hireme@macroglobal.co.uk
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Freshers/Interns for the HR Internship for our organization.
Job Responsibilities-
โขSourcing candidates through various channels, including job portals, social media platforms, and professional networks.
โขScreen resumes and conduct initial interviews to assess candidate qualifications and suitability for open positions.
โขCoordinate and schedule interviews between candidates and hiring managers, ensuring a seamless and efficient recruitment process.
โขContribute to new employee orientation and paperwork.
โขDrafting job descriptions and posting job openings on relevant platforms to
attract qualified candidates.
โขCollaborate with team members on special projects and initiatives to enhance our recruitment strategies and processes.
Location: Gurugram, Haryana
No. of working days: 5 days
*Immediate joiners and candidates from Delhi NCR region or nearby areas preferred
If you find the above mentioned profile suitable or have any references for the same, kindly share the updated resumes at dhanashree.surve@cybercube.co.in
Regards,
Dhanashree Surve
HR Executive
CyberCube Services Pvt. Ltd.
Job Responsibilities-
โขSourcing candidates through various channels, including job portals, social media platforms, and professional networks.
โขScreen resumes and conduct initial interviews to assess candidate qualifications and suitability for open positions.
โขCoordinate and schedule interviews between candidates and hiring managers, ensuring a seamless and efficient recruitment process.
โขContribute to new employee orientation and paperwork.
โขDrafting job descriptions and posting job openings on relevant platforms to
attract qualified candidates.
โขCollaborate with team members on special projects and initiatives to enhance our recruitment strategies and processes.
Location: Gurugram, Haryana
No. of working days: 5 days
*Immediate joiners and candidates from Delhi NCR region or nearby areas preferred
If you find the above mentioned profile suitable or have any references for the same, kindly share the updated resumes at dhanashree.surve@cybercube.co.in
Regards,
Dhanashree Surve
HR Executive
CyberCube Services Pvt. Ltd.