๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
#include<bits/stdc++.h>
using namespace std;
vector<vector<int>> textQueries(vector<string> sentences, vector<string> queries){
int n = sentences.size(), m = queries.size();
map<string, multiset<int>> mp;
for(int i=0; i<n;i++){
string temp = sentences[i];
string tt = "";
for(int j=0; j<sentences[i].length(); j++){
if(temp[j]==' '){
mp[tt].insert(i);
tt = "";
}else{
tt += temp[j];
}
}
mp[tt].insert(i);
}
vector<vector<int>> ans;
for(int i=0; i<m; i++){
string tt = "";
string temp = queries[i];
multiset<int> st, st2;
for(int j=0; j<temp.length(); j++){
if(temp[j]==' '){
st = mp[tt];
tt = "";
break;
}else{
tt += temp[j];
}
}
if(tt!="") {st = mp[tt]; tt="";}
for(int j=0; j<temp.length(); j++){
if(temp[j]==' '){
for(auto it: mp[tt]){
if(st.find(it)!=st.end()){
st2.insert(it);
}
}
st = st2;
tt = "";
st2.clear();
}else{
tt += temp[j];
}
}
if(tt!=""){
for(auto it: mp[tt]){
if(st.find(it)!=st.end()){
st2.insert(it);
}
}
st = st2;
st2.clear();
}
if(st.size()==0) ans.push_back({-1});
else{
vector<int> temp;
for(auto it: st){
temp.push_back(it);
}
ans.push_back(temp);
}
}
return ans;
}
int main()
{
vector<string> sentences = {"how it was done", "are you how", "it goes to", "goes done are it"};
vector<string> queries = {"done it", "it"};
vector<vector<int>> ans = textQueries(sentences, queries);
for(auto i: ans){
for(auto j: i){
cout << j << " ";
}cout << endl;
}
}
Simple Text Queries โ
ServiceNow
using namespace std;
vector<vector<int>> textQueries(vector<string> sentences, vector<string> queries){
int n = sentences.size(), m = queries.size();
map<string, multiset<int>> mp;
for(int i=0; i<n;i++){
string temp = sentences[i];
string tt = "";
for(int j=0; j<sentences[i].length(); j++){
if(temp[j]==' '){
mp[tt].insert(i);
tt = "";
}else{
tt += temp[j];
}
}
mp[tt].insert(i);
}
vector<vector<int>> ans;
for(int i=0; i<m; i++){
string tt = "";
string temp = queries[i];
multiset<int> st, st2;
for(int j=0; j<temp.length(); j++){
if(temp[j]==' '){
st = mp[tt];
tt = "";
break;
}else{
tt += temp[j];
}
}
if(tt!="") {st = mp[tt]; tt="";}
for(int j=0; j<temp.length(); j++){
if(temp[j]==' '){
for(auto it: mp[tt]){
if(st.find(it)!=st.end()){
st2.insert(it);
}
}
st = st2;
tt = "";
st2.clear();
}else{
tt += temp[j];
}
}
if(tt!=""){
for(auto it: mp[tt]){
if(st.find(it)!=st.end()){
st2.insert(it);
}
}
st = st2;
st2.clear();
}
if(st.size()==0) ans.push_back({-1});
else{
vector<int> temp;
for(auto it: st){
temp.push_back(it);
}
ans.push_back(temp);
}
}
return ans;
}
int main()
{
vector<string> sentences = {"how it was done", "are you how", "it goes to", "goes done are it"};
vector<string> queries = {"done it", "it"};
vector<vector<int>> ans = textQueries(sentences, queries);
for(auto i: ans){
for(auto j: i){
cout << j << " ";
}cout << endl;
}
}
Simple Text Queries โ
ServiceNow
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐จ New Tech Opportunity Alert ๐จ
Type: Internship
Company: OpeninApp
Role: iOS Intern
Stipend: INR 35,000 /month
Perks: PPO
Apply now to give a head-start to your career:
https://www.foundit.in/zuno/app/job/ios-intern-2/description?utm_source=campus-ambassador&utm_medium=di_summer_openinapp_1&utm_campaign=ZW4204
Type: Internship
Company: OpeninApp
Role: iOS Intern
Stipend: INR 35,000 /month
Perks: PPO
Apply now to give a head-start to your career:
https://www.foundit.in/zuno/app/job/ios-intern-2/description?utm_source=campus-ambassador&utm_medium=di_summer_openinapp_1&utm_campaign=ZW4204
www.foundit.in
iOS Intern | Internships, Jobs - Zuno by Foundit
OpeninApp is hiring for iOS Intern on Zuno by Foundit | Apply now
๐Sapio Analytics is hiring for Full Stack Engineer (0-2 years)
Salary: 50K-55K per month
Apply here:
๐Apply here: https://linkedin.com/jobs/view/3914790729/
Salary: 50K-55K per month
Apply here:
๐Apply here: https://linkedin.com/jobs/view/3914790729/
Linkedin
Sapio Analytics hiring Full Stack Engineer in Mumbai Metropolitan Region | LinkedIn
Posted 4:49:09 AM. ABOUT SAPIO ANALYTICS We at Sapio intend to IMPACT-IMPROVE-INFLUENCE. Our team is spread acrossโฆSee this and similar jobs on LinkedIn.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Vahan
๐ Job Title: Software Development Intern
โ๐ป YOE: 2024 and 2025 grads
โก๏ธ Apply: https://docs.google.com/forms/d/e/1FAIpQLSdNFAfGR_U1YwbzwR8pxitNoUt2TfaoSSz66u5bipBZIMjlqQ/viewform?usp=send_form
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐ Job Title: Software Development Intern
โ๐ป YOE: 2024 and 2025 grads
โก๏ธ Apply: https://docs.google.com/forms/d/e/1FAIpQLSdNFAfGR_U1YwbzwR8pxitNoUt2TfaoSSz66u5bipBZIMjlqQ/viewform?usp=send_form
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Monotype
๐ Job Title: Software Engineer Trainee
โ๐ป YOE: 2023 and 2024 grads
โก๏ธ Apply: https://monotype.wd1.myworkdayjobs.com/en-US/Monotype/job/Software-Engineer-Trainee_R0003499-1
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐ Job Title: Software Engineer Trainee
โ๐ป YOE: 2023 and 2024 grads
โก๏ธ Apply: https://monotype.wd1.myworkdayjobs.com/en-US/Monotype/job/Software-Engineer-Trainee_R0003499-1
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐1๐ฅ1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
โ๏ธPresidio Off Campus Drive 2024 Hiring Challenge For Associate Engineer | INR 9.5 LPA - INR 11.5 LPAโ๏ธ
๐จโ๐ปJob Role : Associate Engineer
๐Qualification : B.E/B.Tech
๐Experience : 0-2 years
๐ฐPackage : INR 9.5 LPA - INR 11.5 LPA
https://assessment.hackerearth.com/challenges/new/hiring/presidio-hiring-challenge/
๐จโ๐ปJob Role : Associate Engineer
๐Qualification : B.E/B.Tech
๐Experience : 0-2 years
๐ฐPackage : INR 9.5 LPA - INR 11.5 LPA
https://assessment.hackerearth.com/challenges/new/hiring/presidio-hiring-challenge/
HackerEarth
Presidio Hiring Challenge
Presidio is well-known for its expertise in custom applications, comprehensive managed services, and the ability to derive actionable insights from data. In response to growing demand, we are eager to expand our team.
This opportunity marks Presidioโs secondโฆ
This opportunity marks Presidioโs secondโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Software Development Intern At Bolt.Earth
Batch: 2024, 2025, 2026, 2027
Note : Apply ASAP !
https://www.linkedin.com/jobs/view/software-development-intern-at-bolt-earth-3913277150/?trackingId=QUjAwbGUTzirNPcIZF7Z3Q%3D%3D&refId=gl8KF%2BHRLVOr1DeAew/iTw%3D%3D&pageNum=1&position=1&trk=public_jobs_jserp-result_search-card&originalSubdomain=in
Batch: 2024, 2025, 2026, 2027
Note : Apply ASAP !
https://www.linkedin.com/jobs/view/software-development-intern-at-bolt-earth-3913277150/?trackingId=QUjAwbGUTzirNPcIZF7Z3Q%3D%3D&refId=gl8KF%2BHRLVOr1DeAew/iTw%3D%3D&pageNum=1&position=1&trk=public_jobs_jserp-result_search-card&originalSubdomain=in
Linkedin
Bolt.Earth hiring Software Development Intern in Bengaluru, Karnataka, India | LinkedIn
Posted 7:07:16 AM. Software Development Intern JDAbout BOLT.Earth
Bolt.Earth is Indiaโs largest EV tech company thatโฆSee this and similar jobs on LinkedIn.
Bolt.Earth is Indiaโs largest EV tech company thatโฆSee this and similar jobs on LinkedIn.
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Junior Developer Hiring At Next Growth
Batch: 2023, 2024
Expected CTC : 12-15 LPA
https://apply.workable.com/nextgrowth-labs/j/4A69B8E755/
Batch: 2023, 2024
Expected CTC : 12-15 LPA
https://apply.workable.com/nextgrowth-labs/j/4A69B8E755/
Workable
Junior Developer - Python/Js (Django is Must) - NextGrowth Labs
Our team consists of generalist engineers.Essential Stack Django, JS, Flask, Docker, SQLAdd ons : Java, Flutter.What will you be doing Write scalable applications in Django/Flask Design, build and maintain high performance, reusable, and reliable Pytho...
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Full Stack Engineer At Sapio Analytics
Batch : 2021, 2022, 2023, 2024
Salary Range : 50,000 to 55,000 INR Per Month
https://www.linkedin.com/jobs/view/3914790729
Batch : 2021, 2022, 2023, 2024
Salary Range : 50,000 to 55,000 INR Per Month
https://www.linkedin.com/jobs/view/3914790729
Linkedin
Sapio Analytics hiring Full Stack Engineer in Mumbai Metropolitan Region | LinkedIn
Posted 4:49:09 AM. ABOUT SAPIO ANALYTICS We at Sapio intend to IMPACT-IMPROVE-INFLUENCE. Our team is spread acrossโฆSee this and similar jobs on LinkedIn.
Sum of numbers at prime factorโ
Accenture โ
Reaarange the Array
Reaarange the Array
Longest mirror sub-array โ