public class Main {
public static int countSetBits(int number) {
return Integer.bitCount(number);
}
public static int countElementsWithSetBits(int[] arr, int N, int X) {
int count = 0;
for (int num : arr) {
if (countSetBits(num) == X) {
count++;
}
}
return count;
}.
SET BITSโ
public static int countSetBits(int number) {
return Integer.bitCount(number);
}
public static int countElementsWithSetBits(int[] arr, int N, int X) {
int count = 0;
for (int num : arr) {
if (countSetBits(num) == X) {
count++;
}
}
return count;
}.
SET BITSโ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Genpect is hiring B.com/BBA/ MBA freshers or any accounting background for OTC/Order to Cash -Cash Applications skillset.
Job requirements:
. Good accounting knowledge
. Should understand OTC cycle
. Flexible to work in any shifts
. 5 days Work from Office.
. Office location- Gurgaon 22B
Interested candidates can share their resumes at the earliest at parul. chaturvedi1@genpact.com
Job requirements:
. Good accounting knowledge
. Should understand OTC cycle
. Flexible to work in any shifts
. 5 days Work from Office.
. Office location- Gurgaon 22B
Interested candidates can share their resumes at the earliest at parul. chaturvedi1@genpact.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
HyreSnap is hiring Frontend Intern
For 2024, 2025, 2026 grads
https://www.linkedin.com/posts/sayantan-s-554bb117a_hiring-react-internship-activity-7203672732679479296-hdy9?utm_source=share&utm_medium=member_android
For 2024, 2025, 2026 grads
https://www.linkedin.com/posts/sayantan-s-554bb117a_hiring-react-internship-activity-7203672732679479296-hdy9?utm_source=share&utm_medium=member_android
Linkedin
Sayantan S. on LinkedIn: #hiring #react #internship
Calling all passionate frontend devs!
We're looking for a Frontend intern to join our team @HyreSnap and help us build a beautiful, user-friendly experienceโฆ
We're looking for a Frontend intern to join our team @HyreSnap and help us build a beautiful, user-friendly experienceโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Moody Hiring Associate Software Engineer
Link to apply ๐
https://careers.moodys.com/associate-software-engineer/job/28145168?
Link to apply ๐
https://careers.moodys.com/associate-software-engineer/job/28145168?
Moodys
Expired Moody's Jobs
Find Expired jobs for Moody's.
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
22,000+ Back End Developer jobs in India (984 new)
Todayโs top 22,000+ Back End Developer jobs in India. Leverage your professional network, and get hired. New Back End Developer jobs added daily.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Bijak is hiring Business Analyst Intern
For 2024 grads
Location - Gurugram
https://www.linkedin.com/posts/nikhilsoni09_intern-activity-7203670032474677249-xnFx?utm_source=share&utm_medium=member_android
For 2024 grads
Location - Gurugram
https://www.linkedin.com/posts/nikhilsoni09_intern-activity-7203670032474677249-xnFx?utm_source=share&utm_medium=member_android
Linkedin
Nikhil soni on LinkedIn: Intern
Hello Everyone,
Bijak is looking for a Business Analyst Intern(Tech).
1. Company: Bijak
2. Duration: 6 Months, Full Time + PPO(performance based)
3โฆ
Bijak is looking for a Business Analyst Intern(Tech).
1. Company: Bijak
2. Duration: 6 Months, Full Time + PPO(performance based)
3โฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hudle is hiring Flutter Developer
For 2024, 2023 grads
https://www.linkedin.com/posts/ashwanisng_flutter-developer-activity-7203668688007225344-wvNX?utm_source=share&utm_medium=member_android
For 2024, 2023 grads
https://www.linkedin.com/posts/ashwanisng_flutter-developer-activity-7203668688007225344-wvNX?utm_source=share&utm_medium=member_android
Linkedin
Flutter Developer | Ashwani Kumar Singh | 31 comments
We at Hudle are looking for a Flutter developer for our App Development team.
If you're passionate about mobile app development and ready to dive into theโฆ | 31 comments on LinkedIn
If you're passionate about mobile app development and ready to dive into theโฆ | 31 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Nurix is hiring Full Stack Engineer
For 2023, 2022, 2021 grads
https://www.linkedin.com/posts/anujkrmodi_startups-hiring-genai-activity-7203689224812859392-_W3f
For 2023, 2022, 2021 grads
https://www.linkedin.com/posts/anujkrmodi_startups-hiring-genai-activity-7203689224812859392-_W3f
Linkedin
Anuj Modi on LinkedIn: #startups #hiring #genai #startuphiring | 11 comments
We're Hiring! Full stack engineers at Nurix
Are you passionate about the future of artificial intelligence and eager to gain hands-on experience at aโฆ | 11 comments on LinkedIn
Are you passionate about the future of artificial intelligence and eager to gain hands-on experience at aโฆ | 11 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
MSCI is hiring for Python Developer (0 -3 years)
Expected Salary: 12-24 LPA
Apply here:
https://tas-msci.taleo.net/careersection/MSCI_EXTERNAL/jobdetail.ftl?lang=en&job=240000NC
Expected Salary: 12-24 LPA
Apply here:
https://tas-msci.taleo.net/careersection/MSCI_EXTERNAL/jobdetail.ftl?lang=en&job=240000NC
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Ciena is hiring for Software Engineer Applications 1 โ New Grad
Expected Salary: 12 - 16 LPA
Apply here:
https://careers.ciena.com/us/en/job/CIENUSR022938ENUS/Software-Engineer-Applications-1-New-Grad
Expected Salary: 12 - 16 LPA
Apply here:
https://careers.ciena.com/us/en/job/CIENUSR022938ENUS/Software-Engineer-Applications-1-New-Grad
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
EXL is hiring for Junior Business Analyst.
Experience: 0+ yrs
Skills: SQL, Python/R, Power BI
Notice period: Immediate joining
Share your resume at bhupesh.khurana@exlservice.com
Experience: 0+ yrs
Skills: SQL, Python/R, Power BI
Notice period: Immediate joining
Share your resume at bhupesh.khurana@exlservice.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Swageazy is seeking a driven and enthusiastic Sr. Associate - Enterprise Sales.
Experience - Fresher ( who has recently graduated).
Job location - HSR, Bangalore
Salary - Up to 5.5 lpa
Interested candidates can share their resume on ankita@swageazy.com
Experience - Fresher ( who has recently graduated).
Job location - HSR, Bangalore
Salary - Up to 5.5 lpa
Interested candidates can share their resume on ankita@swageazy.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Hiring Freshers!!! | Visalakshi Manikandan
Hiring Freshers!!!
We are conducting Mass Hiring Off-campus drive for Java Freshers!!!
Great opportunity to kickstart your career!
Eligibility criteria: B.E., B. Tech, MCA - 2023 and 2024 passed out batches. Only CSE & IT, First class with no backlogs.โฆ
We are conducting Mass Hiring Off-campus drive for Java Freshers!!!
Great opportunity to kickstart your career!
Eligibility criteria: B.E., B. Tech, MCA - 2023 and 2024 passed out batches. Only CSE & IT, First class with no backlogs.โฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Oracle
๐ Job Title: Software Developer
โ๐ป YOE: 0-2 years
โก๏ธ Apply: https://eeho.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/jobsearch/job/231334
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐ Job Title: Software Developer
โ๐ป YOE: 0-2 years
โก๏ธ Apply: https://eeho.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/jobsearch/job/231334
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
Oracle
Software Developer 1
Pipeline Req ID for FY25 Netsuite selects. Not applicable to internal/external applicants
vector<int> BobnBot(int N, int M, vector<vector<int>> games, int Q, vector<vector<int>> queries) {
vector<int> result;
for (const auto& query : queries) {
vector<int> cleaned_query;
for (int num : query) {
if (num != -1) {
cleaned_query.push_back(num);
} else {
break;
}
}
int match_count = 0;
for (const auto& game : games) {
bool match = true;
for (size_t i = 0; i < cleaned_query.size(); ++i) {
if (game[i] != cleaned_query[i]) {
match = false;
break;
}
}
if (match) {
++match_count;
}
}
result.push_back(match_count);
}
return result;
}
The bot and the game โ
vector<int> result;
for (const auto& query : queries) {
vector<int> cleaned_query;
for (int num : query) {
if (num != -1) {
cleaned_query.push_back(num);
} else {
break;
}
}
int match_count = 0;
for (const auto& game : games) {
bool match = true;
for (size_t i = 0; i < cleaned_query.size(); ++i) {
if (game[i] != cleaned_query[i]) {
match = false;
break;
}
}
if (match) {
++match_count;
}
}
result.push_back(match_count);
}
return result;
}
The bot and the game โ
๐1
vector<string> areAlmostEquivalent(vector<string>& s, vector<string>& t) {
vector<string> result;
auto countCharacters = [](const string& str) {
vector<int> count(26, 0);
for (char c : str) {
count[c - 'a']++;
}
return count;
};
for (size_t i = 0; i < s.size(); ++i) {
const string& str_s = s[i];
const string& str_t = t[i];
vector<int> count_s = countCharacters(str_s);
vector<int> count_t = countCharacters(str_t);
bool isAlmostEquivalent = true;
for (int j = 0; j < 26; ++j) {
if (abs(count_s[j] - count_t[j]) > 3) {
isAlmostEquivalent = false;
break;
}
}
if (isAlmostEquivalent) {
result.push_back("YES");
} else {
result.push_back("NO");
}
}
return result;
}
Almost Equivalent strings โ
vector<string> result;
auto countCharacters = [](const string& str) {
vector<int> count(26, 0);
for (char c : str) {
count[c - 'a']++;
}
return count;
};
for (size_t i = 0; i < s.size(); ++i) {
const string& str_s = s[i];
const string& str_t = t[i];
vector<int> count_s = countCharacters(str_s);
vector<int> count_t = countCharacters(str_t);
bool isAlmostEquivalent = true;
for (int j = 0; j < 26; ++j) {
if (abs(count_s[j] - count_t[j]) > 3) {
isAlmostEquivalent = false;
break;
}
}
if (isAlmostEquivalent) {
result.push_back("YES");
} else {
result.push_back("NO");
}
}
return result;
}
Almost Equivalent strings โ
๐1
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int minStones(vector<int>& xstart, vector<int>& xend) {
int n = xstart.size();
vector<pair<int, int>> intervals;
for (int i = 0; i < n; ++i) {
intervals.push_back({xend[i], xstart[i]});
}
sort(intervals.begin(), intervals.end());
int stones = 0;
int lastSmashed = -1;
for (const auto& interval : intervals) {
int start = interval.second;
int end = interval.first;
if (start > lastSmashed) {
stones++;
lastSmashed = end;
}
}
return stones;
}
#include <vector>
#include <algorithm>
using namespace std;
int minStones(vector<int>& xstart, vector<int>& xend) {
int n = xstart.size();
vector<pair<int, int>> intervals;
for (int i = 0; i < n; ++i) {
intervals.push_back({xend[i], xstart[i]});
}
sort(intervals.begin(), intervals.end());
int stones = 0;
int lastSmashed = -1;
for (const auto& interval : intervals) {
int start = interval.second;
int end = interval.first;
if (start > lastSmashed) {
stones++;
lastSmashed = end;
}
}
return stones;
}
๐1๐คฎ1