๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
#include <bits/stdc++.h>
using namespace std;
void solve(vector<int> &curr, int L, int R, int &fm, int &sm) {
fm = INT_MIN;
sm = INT_MIN;
for (int i = L; i <= R; ++i) {
if (curr[i] > fm) {
sm = fm;
fm = curr[i];
} else if (curr[i] > sm) {
sm = curr[i];
}
}
}
int main() {
int N, Q;
cin >> N;
vector<int> curr(N + 1);
for (int i = 1; i <= N; ++i) {
cin >> curr[i];
}
cin >> Q;
for (int q = 0; q < Q; ++q) {
int L, R;
cin >> L >> R;
int fm, sm;
solve(curr, L, R, fm, sm);
int ans = (fm + sm) / 2;
cout << ans << endl;
}
return 0;
}
Globallogic โ
using namespace std;
void solve(vector<int> &curr, int L, int R, int &fm, int &sm) {
fm = INT_MIN;
sm = INT_MIN;
for (int i = L; i <= R; ++i) {
if (curr[i] > fm) {
sm = fm;
fm = curr[i];
} else if (curr[i] > sm) {
sm = curr[i];
}
}
}
int main() {
int N, Q;
cin >> N;
vector<int> curr(N + 1);
for (int i = 1; i <= N; ++i) {
cin >> curr[i];
}
cin >> Q;
for (int q = 0; q < Q; ++q) {
int L, R;
cin >> L >> R;
int fm, sm;
solve(curr, L, R, fm, sm);
int ans = (fm + sm) / 2;
cout << ans << endl;
}
return 0;
}
Globallogic โ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐ฅ1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hi Guys Accenture link is still active . Please kindly apply ..
Those who are 2019 ,2020,21,22 ,23,24kindly use this opportunity
Eligibility Criteria:
Minimum criteria- Any engineering stream of B.E/B.Tech/M.E/MTech or MCA or MSc (CS/IT/Computer Applications/Data Science/Computer Science & Applications) - any year of pass out till 2024.
Apply link :: https://indiacampus.accenture.com/myzone/accenture/1/jobs/25377/job-details
Those who are 2019 ,2020,21,22 ,23,24kindly use this opportunity
Eligibility Criteria:
Minimum criteria- Any engineering stream of B.E/B.Tech/M.E/MTech or MCA or MSc (CS/IT/Computer Applications/Data Science/Computer Science & Applications) - any year of pass out till 2024.
Apply link :: https://indiacampus.accenture.com/myzone/accenture/1/jobs/25377/job-details
Accenture
Accenture | MyZone
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: ADP
Role: Associate Software Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://tech.adp.com/en/jobs/5001062748906/associate-software-engineer
Role: Associate Software Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://tech.adp.com/en/jobs/5001062748906/associate-software-engineer
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Eightfold
Role: Software Engineer
Batch eligible: 2024 grads only
Apply: https://employee.eightfold.ai/careers/job/68744096803?domain=volkscience.com
Role: Software Engineer
Batch eligible: 2024 grads only
Apply: https://employee.eightfold.ai/careers/job/68744096803?domain=volkscience.com
employee.eightfold.ai
Careers at Eightfold
Career openings at Eightfold
int countSquares(int arr[], int N)
{
// Stores the count of array elements
int count = 0;
// Stores frequency of visited elements
unordered_map<int, int> m;
// Traverse the array
for (int i = 0; i < N; i++) {
m[arr[i]] = m[arr[i]] + 1;
}
for (int i = 0; i < N; i++) {
// Square of the element
int square = arr[i] * arr[i];
// Update the count
count += m[square];
}
// Print the count
cout << count;
}
Wells Fargo โ
{
// Stores the count of array elements
int count = 0;
// Stores frequency of visited elements
unordered_map<int, int> m;
// Traverse the array
for (int i = 0; i < N; i++) {
m[arr[i]] = m[arr[i]] + 1;
}
for (int i = 0; i < N; i++) {
// Square of the element
int square = arr[i] * arr[i];
// Update the count
count += m[square];
}
// Print the count
cout << count;
}
Wells Fargo โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Prakash Jeganathan on LinkedIn: *******๐ Exciting Opportunity: Golang Internship Available ๐โฆ
*******๐ Exciting Opportunity: Golang Internship Available ๐ **********
We're on the lookout for a passionate Golang intern! If you have the dedication toโฆ
We're on the lookout for a passionate Golang intern! If you have the dedication toโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Siemens Scholarship Program - Siemens IN
https://www.siemens.com/in/en/company/sustainability/corporate-citizenship/siemens-scholarship-program.html
https://www.siemens.com/in/en/company/sustainability/corporate-citizenship/siemens-scholarship-program.html
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
#UrgentHirning for SOC Freshers
send cv on jyotsnaj@futurismtechnologies.com
Job Location: Hinjewadi Phase 1 Pune
Job Description:
-> Graduate from technical background
-> Good communication
-> Basic understanding of Networking
Originally posted by: Jyotsna J.
send cv on jyotsnaj@futurismtechnologies.com
Job Location: Hinjewadi Phase 1 Pune
Job Description:
-> Graduate from technical background
-> Good communication
-> Basic understanding of Networking
Originally posted by: Jyotsna J.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Infrrd is hiring ML intern
For 2024, 2025, 2026 grads
Location: Remote.
https://infrrd.bamboohr.com/careers/137
For 2024, 2025, 2026 grads
Location: Remote.
https://infrrd.bamboohr.com/careers/137
Infrrd
Current Openings
Take a look at the current openings at Infrrd
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company โ APTAGRIM CONSULTING PRIVATE LIMITED
Role โ Deep Learning Engineer Internship
Exp. โ Fresher
Apply Here โ https://internshala.com/internship/details/deep-learning-engineer-internship-in-hyderabad-at-aptagrim-consulting-private-limited1724242188?utm_source=cp_link&referral=web_share
Company โ Arcatron Mobility Private Limited
Role โ Data Analytics Internship
Exp. โ Fresher
Apply Here โ https://internshala.com/internship/details/data-analytics-internship-in-pune-at-arcatron-mobility-private-limited1724236338?utm_source=cp_link&referral=web_share
Role โ Deep Learning Engineer Internship
Exp. โ Fresher
Apply Here โ https://internshala.com/internship/details/deep-learning-engineer-internship-in-hyderabad-at-aptagrim-consulting-private-limited1724242188?utm_source=cp_link&referral=web_share
Company โ Arcatron Mobility Private Limited
Role โ Data Analytics Internship
Exp. โ Fresher
Apply Here โ https://internshala.com/internship/details/data-analytics-internship-in-pune-at-arcatron-mobility-private-limited1724236338?utm_source=cp_link&referral=web_share
Internshala
Deep Learning Engineer Internship at APTAGRIM CONSULTING PRIVATE LIMITED, Hyderabad
We are looking for a talented deep learning engineer intern to join our team at Aptagrim Consulting Private Limited. As an intern, you will have the opportunity to work on cutting-edge projects in the fields of deep learning, computer vision, machine learningโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Uber is hiring University Graduates !
2024 batch passouts eligible
Fill Form for Referral : https://forms.gle/cJGzPcimTDhbFKwj9
2024 batch passouts eligible
Fill Form for Referral : https://forms.gle/cJGzPcimTDhbFKwj9