void dfs(vll &arr,int n,int m,int i,int j,vl &ans,ll val,ll mini){
if(i==n-1 and j==m-1){
ans.pb(mini);
return;
}
if(i+1<n and j<m){
dfs(arr,n,m,i+1,j,ans,val+arr[i+1][j],min(mini,val+arr[i+1][j]));
}
if(i<n and j+1<m){
dfs(arr,n,m,i,j+1,ans,val+arr[i][j+1],min(mini,val+arr[i][j+1]));
}
}
void solve()
{
ll n,m;
cin>>n>>m;
vll arr(n,vl(m));
for(int i=0;i<n;i++){
for(int j=0;j<m;j++){
cin>>arr[i][j];
}
}
vl ans;
dfs(arr,n,m,0,0,ans,arr[0][0],arr[0][0]);
sort(all(ans));
if(ans[0]>0){
cout<<0<<endl;
return;
}
cout<<abs(ans[0])+1<<endl;
debug(ans);
}
Mario โ
if(i==n-1 and j==m-1){
ans.pb(mini);
return;
}
if(i+1<n and j<m){
dfs(arr,n,m,i+1,j,ans,val+arr[i+1][j],min(mini,val+arr[i+1][j]));
}
if(i<n and j+1<m){
dfs(arr,n,m,i,j+1,ans,val+arr[i][j+1],min(mini,val+arr[i][j+1]));
}
}
void solve()
{
ll n,m;
cin>>n>>m;
vll arr(n,vl(m));
for(int i=0;i<n;i++){
for(int j=0;j<m;j++){
cin>>arr[i][j];
}
}
vl ans;
dfs(arr,n,m,0,0,ans,arr[0][0],arr[0][0]);
sort(all(ans));
if(ans[0]>0){
cout<<0<<endl;
return;
}
cout<<abs(ans[0])+1<<endl;
debug(ans);
}
Mario โ
โค1๐ฅ1
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
  
Send resume to : hr@wittybrains.com
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
  
Send your updated resume: Career@crystalvoxxltd.com
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Zeta is searching for SDE Freshers in #Hyderabad! Are you a #2024EngineeringGrad ready to shape the future of Banking Tech? Join our Rocket Ship and make an impact.  #Hiringpost #ZetaSDErole #2024EngineerGrads 
Apply now:
https://docs.google.com/forms/u/0/d/e/1FAIpQLScYwsRaJ7-OXGKYS3Ta3J1CpWMH4iw6GFEgs3si6t3Vklf_ZQ/viewform?usp=send_form&pli=1
  Apply now:
https://docs.google.com/forms/u/0/d/e/1FAIpQLScYwsRaJ7-OXGKYS3Ta3J1CpWMH4iw6GFEgs3si6t3Vklf_ZQ/viewform?usp=send_form&pli=1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Coinbase
Role : SDE 1
Batch : 2023/2022 passouts
CTC : 24-28 LPA
Link : https://www.coinbase.com/en-gb/careers/positions/6230378?gh_jid=6230378&gh_src=20687b321us
  
  Role : SDE 1
Batch : 2023/2022 passouts
CTC : 24-28 LPA
Link : https://www.coinbase.com/en-gb/careers/positions/6230378?gh_jid=6230378&gh_src=20687b321us
Coinbase
  
  Not found - Coinbase
  Coinbase is a secure online platform for buying, selling, transferring, and storing cryptocurrency.
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Fynd is hiring for Full Stack Intern
Apply here: https://www.linkedin.com/jobs/view/4046723664/?alternateChannel=search
  Apply here: https://www.linkedin.com/jobs/view/4046723664/?alternateChannel=search
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐Synopsys is hiring for Software Engineer 
Experience: 0 - 1 years
Expected Salary: 7-15 LPA
Apply here: https://careers.synopsys.com/job/-/-/44408/71068434688?codes=OT
๐MSCI is hiring for Data Engineer (Associate)
Experience: 0 - 1 year's
Expected Salary: 14-25 LPA
Apply here: https://careers.msci.com/job/data/pune/data-engineer-associate/2024-1929?mode=apply&iis=LinkedIn
๐Genrobotics is hiring for Software Engineer Trainee
Experience: 0 - 1 year's
Apply here: https://www.linkedin.com/jobs/view/4046131453/?alternateChannel=search
๐Qualitest is hiring for Grad Engineer
Experience: 0 - 1 year's
Expected Salary: 4-7 LPA
Apply here: https://careers.qualitestgroup.com/job/Bangalore-Grad-Engineer-560045/30301944/
Like for more โค๏ธ
All the best ๐
  
  Experience: 0 - 1 years
Expected Salary: 7-15 LPA
Apply here: https://careers.synopsys.com/job/-/-/44408/71068434688?codes=OT
๐MSCI is hiring for Data Engineer (Associate)
Experience: 0 - 1 year's
Expected Salary: 14-25 LPA
Apply here: https://careers.msci.com/job/data/pune/data-engineer-associate/2024-1929?mode=apply&iis=LinkedIn
๐Genrobotics is hiring for Software Engineer Trainee
Experience: 0 - 1 year's
Apply here: https://www.linkedin.com/jobs/view/4046131453/?alternateChannel=search
๐Qualitest is hiring for Grad Engineer
Experience: 0 - 1 year's
Expected Salary: 4-7 LPA
Apply here: https://careers.qualitestgroup.com/job/Bangalore-Grad-Engineer-560045/30301944/
Like for more โค๏ธ
All the best ๐
Company
  
  Working at Synopsys
  Browse available job openings at Synopsys
๐1
  class FibonacciIterator:
def __init__(self, n):
self.prev = 0
self.curr = 1
self.count = 0
self.n = n
def __iter__(self):
return self
def __next__(self):
if self.count >= self.n:
raise StopIteration
fib = self.prev
self.prev, self.curr = self.curr, self.prev + self.curr
self.count += 1
return fib
Custom Iterator โ
Servicenow
def priceCheck(products, productPrices, productSold, soldPrice):
price_map = {}
for i in range(len(products)):
price_map[products[i]] = productPrices[i]
error_count = 0
for j in range(len(productSold)):
correct_price = price_map[productSold[j]]
if soldPrice[j] != correct_price:
error_count += 1
return error_count
IBMโ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
  
  Linkedin
  
  Mithuna Srinika on LinkedIn: #deltaelectronics #freshers #freshersgroup #trainee #powerelectronicsโฆ | 73 comments
  #DeltaElectronics hiring for #Freshers!
Role & responsibilities
- Implement embedded control algorithms using tools such as MATLAB/Simulink and DSP platformsโฆ | 73 comments on LinkedIn
  Role & responsibilities
- Implement embedded control algorithms using tools such as MATLAB/Simulink and DSP platformsโฆ | 73 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Disperz is hiring Associate Software Engineer 
For 2024, 2025 grads
Location: Chennai
https://disprz.keka.com/careers/jobdetails/68865?source=linkedin
For 2024, 2025 grads
Location: Chennai
https://disprz.keka.com/careers/jobdetails/68865?source=linkedin
๐1
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Inmobi 
Role: SDE 1 (Android)
YOE: 0-2 years
Apply: https://docs.google.com/forms/d/e/1FAIpQLSeNNZBxJjnxJP9LoYYw5TACItpmbYHfPorVttZtANEkjObi-g/viewform
  Role: SDE 1 (Android)
YOE: 0-2 years
Apply: https://docs.google.com/forms/d/e/1FAIpQLSeNNZBxJjnxJP9LoYYw5TACItpmbYHfPorVttZtANEkjObi-g/viewform
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Vinvoe is hiring Software Developer Trainee
For 2024, 2025 grads
Location: Gurugram
https://vinove.keka.com/careers/jobdetails/32816
  
  For 2024, 2025 grads
Location: Gurugram
https://vinove.keka.com/careers/jobdetails/32816
Keka
  
  Trainee - Software Development
  Knowledge, Skills and Other Abilities:Good understanding of the system-oriented approachStrong analytical and logical skills to address work-related problemsSelf-motivated, team player, and result-orientedGood communication and problem-solving skillsAbilityโฆ
  Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
  
  Linkedin
  
  Hiring Alert! | Ashish Dogra
  Hiring Alert!
I am super actively looking for following profiles at Verbaflo
we are building a new age communication AI for enterprises.:
1.โ โ ML/GenAI Engineer - Full time role : https://tally.so/r/nrdVjL
2.โ โ โ ML/GenAI Interns - Intern : https://tally.so/r/nrdVjLโฆ
  I am super actively looking for following profiles at Verbaflo
we are building a new age communication AI for enterprises.:
1.โ โ ML/GenAI Engineer - Full time role : https://tally.so/r/nrdVjL
2.โ โ โ ML/GenAI Interns - Intern : https://tally.so/r/nrdVjLโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Techolution
Role: Full Stack Intern
Batch eligible: 2024 passouts only
Duration: 6 months (Followed by PPO)
Apply: https://www.linkedin.com/jobs/view/4047358375/
  
  Role: Full Stack Intern
Batch eligible: 2024 passouts only
Duration: 6 months (Followed by PPO)
Apply: https://www.linkedin.com/jobs/view/4047358375/
Linkedin
  
  techolution hiring Fullstack/Mern stack Intern (2024 Passedouts only) in Hyderabad, Telangana, India | LinkedIn
  Posted 10:29:42 AM. We are seeking a talented Fullstack Intern to join our dynamic team of innovators and help driveโฆ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: IndMoney
Role: Machine Learning Intern
Batch eligible: 2025 and 2026 grads
Apply: https://docs.google.com/forms/d/e/1FAIpQLSdKgT_x8aZmh0dMUcdzQmoH0HJenSEYHbRe9D4_F6bayft-HA/viewform
Role: Machine Learning Intern
Batch eligible: 2025 and 2026 grads
Apply: https://docs.google.com/forms/d/e/1FAIpQLSdKgT_x8aZmh0dMUcdzQmoH0HJenSEYHbRe9D4_F6bayft-HA/viewform
๐คฎ5๐3
  Please try to react on the post in case you are applying, it will hardly take your 10 secs but enough to motivate me to share more and more opportunities everyday without fail:) 
Just one favour if you canโค๏ธ
Just one favour if you canโค๏ธ
โค6๐คฎ4๐2๐1
  
  ๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
#include <bits/stdc++.h> 
using namespace std;
typedef long long ll;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
ll n, k;
cin >> n >> k;
vector<ll> h(n);
for(auto &x:h) cin >> x;
if(k ==1){
ll total = ((n)*(n+1))/2;
cout << total;
return 0;
}
vector<pair<ll, ll>> factors;
ll temp = k;
for(ll p=2; p*p <=temp; p++){
if(temp % p ==0){
ll cnt=0;
while(temp %p ==0){
cnt++;
temp /=p;
}
factors.emplace_back(p, cnt);
}
}
if(temp >1){
factors.emplace_back(temp, 1);
}
int m = factors.size();
vector<vector<ll>> prefix(m, vector<ll>(n+1, 0));
for(int i=0;i<m;i++){
ll p = factors[i].first;
for(int j=0; j<n; j++){
ll cnt =0;
ll val = h[j];
while(val %p ==0){
cnt++;
val /=p;
}
prefix[i][j+1] = prefix[i][j] + cnt;
}
}
ll total =0;
for(int right=0; right<n; right++){
ll l_max = n;
bool valid = true;
for(int i=0;i<m;i++){
ll required = factors[i].second;
ll limit = prefix[i][right+1] - required;
if(limit <0){
valid = false;
break;
}
ll pos = upper_bound(prefix[i].begin(), prefix[i].begin()+right+2, limit) - prefix[i].begin() -1;
l_max = min(l_max, pos);
}
if(valid){
l_max = min(l_max, (ll)right+1);
total += (l_max +1);
}
}
cout << total;
}
Beautiful Garden โ
Rubrik
using namespace std;
typedef long long ll;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
ll n, k;
cin >> n >> k;
vector<ll> h(n);
for(auto &x:h) cin >> x;
if(k ==1){
ll total = ((n)*(n+1))/2;
cout << total;
return 0;
}
vector<pair<ll, ll>> factors;
ll temp = k;
for(ll p=2; p*p <=temp; p++){
if(temp % p ==0){
ll cnt=0;
while(temp %p ==0){
cnt++;
temp /=p;
}
factors.emplace_back(p, cnt);
}
}
if(temp >1){
factors.emplace_back(temp, 1);
}
int m = factors.size();
vector<vector<ll>> prefix(m, vector<ll>(n+1, 0));
for(int i=0;i<m;i++){
ll p = factors[i].first;
for(int j=0; j<n; j++){
ll cnt =0;
ll val = h[j];
while(val %p ==0){
cnt++;
val /=p;
}
prefix[i][j+1] = prefix[i][j] + cnt;
}
}
ll total =0;
for(int right=0; right<n; right++){
ll l_max = n;
bool valid = true;
for(int i=0;i<m;i++){
ll required = factors[i].second;
ll limit = prefix[i][right+1] - required;
if(limit <0){
valid = false;
break;
}
ll pos = upper_bound(prefix[i].begin(), prefix[i].begin()+right+2, limit) - prefix[i].begin() -1;
l_max = min(l_max, pos);
}
if(valid){
l_max = min(l_max, (ll)right+1);
total += (l_max +1);
}
}
cout << total;
}
Beautiful Garden โ
Rubrik
โค2๐คฎ1
  