MOD = 10**9 + 7
def count_good_arrangements(n, arr):
MAX_VALUE = 200
dp = [[0] * (MAX_VALUE + 1) for _ in range(n)]
if arr[0] == 0:
for v in range(MAX_VALUE + 1):
dp[0][v] = 1
else:
dp[0][arr[0] + 100] = 1
for i in range(1, n):
if arr[i] == 0:
for v in range(MAX_VALUE + 1):
if dp[i-1][v] > 0:
for new_val in [v-1, v, v+1]:
if 0 <= new_val <= MAX_VALUE:
dp[i][new_val] = (dp[i][new_val] + dp[i-1][v]) % MOD
else:
v = arr[i] + 100
for prev_val in [v-1, v, v+1]:
if 0 <= prev_val <= MAX_VALUE:
dp[i][v] = (dp[i][v] + dp[i-1][prev_val]) % MOD
result = 0
for v in range(MAX_VALUE + 1):
result = (result + dp[n-1][v]) % MOD
return result
Student Arrangement
Gameskraft โ
def count_good_arrangements(n, arr):
MAX_VALUE = 200
dp = [[0] * (MAX_VALUE + 1) for _ in range(n)]
if arr[0] == 0:
for v in range(MAX_VALUE + 1):
dp[0][v] = 1
else:
dp[0][arr[0] + 100] = 1
for i in range(1, n):
if arr[i] == 0:
for v in range(MAX_VALUE + 1):
if dp[i-1][v] > 0:
for new_val in [v-1, v, v+1]:
if 0 <= new_val <= MAX_VALUE:
dp[i][new_val] = (dp[i][new_val] + dp[i-1][v]) % MOD
else:
v = arr[i] + 100
for prev_val in [v-1, v, v+1]:
if 0 <= prev_val <= MAX_VALUE:
dp[i][v] = (dp[i][v] + dp[i-1][prev_val]) % MOD
result = 0
for v in range(MAX_VALUE + 1):
result = (result + dp[n-1][v]) % MOD
return result
Student Arrangement
Gameskraft โ
from collections import defaultdict, deque
def getMinRepairCost(g_nodes, g_from, g_to, g_weight, k):
def can_reach_with_cost(max_cost):
graph = defaultdict(list)
for i in range(len(g_from)):
if g_weight[i] <= max_cost:
graph[g_from[i]].append(g_to[i])
graph[g_to[i]].append(g_from[i])
queue = deque([(1, 0)])
visited = {1: 0}
while queue:
current, roads_used = queue.popleft()
if current == g_nodes:
return True
if roads_used < k:
for neighbor in graph[current]:
if neighbor not in visited or visited[neighbor] > roads_used + 1:
visited[neighbor] = roads_used + 1
queue.append((neighbor, roads_used + 1))
return False
left, right = min(g_weight), max(g_weight)
result = -1
while left <= right:
mid = (left + right) // 2
if can_reach_with_cost(mid):
result = mid
right = mid - 1
else:
left = mid + 1
return result
Repairing Rods
Gameskraft โ
def getMinRepairCost(g_nodes, g_from, g_to, g_weight, k):
def can_reach_with_cost(max_cost):
graph = defaultdict(list)
for i in range(len(g_from)):
if g_weight[i] <= max_cost:
graph[g_from[i]].append(g_to[i])
graph[g_to[i]].append(g_from[i])
queue = deque([(1, 0)])
visited = {1: 0}
while queue:
current, roads_used = queue.popleft()
if current == g_nodes:
return True
if roads_used < k:
for neighbor in graph[current]:
if neighbor not in visited or visited[neighbor] > roads_used + 1:
visited[neighbor] = roads_used + 1
queue.append((neighbor, roads_used + 1))
return False
left, right = min(g_weight), max(g_weight)
result = -1
while left <= right:
mid = (left + right) // 2
if can_reach_with_cost(mid):
result = mid
right = mid - 1
else:
left = mid + 1
return result
Repairing Rods
Gameskraft โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Formulo | Software Engineer Intern | 2024, 2025, 2026 Grads
https://in.linkedin.com/jobs/view/software-engineer-intern-at-formulo-3926091653?position=1&pageNum=0&refId=zS9sMc5jYDzs0xjaguoOKg%3D%3D&trackingId=aG4riEFvP%2FoHJOcA6CFC3g%3D%3D&trk=public_jobs_jserp-result_search-card
https://in.linkedin.com/jobs/view/software-engineer-intern-at-formulo-3926091653?position=1&pageNum=0&refId=zS9sMc5jYDzs0xjaguoOKg%3D%3D&trackingId=aG4riEFvP%2FoHJOcA6CFC3g%3D%3D&trk=public_jobs_jserp-result_search-card
Linkedin
Formulo hiring Software Engineer Intern in New Delhi, Delhi, India | LinkedIn
Posted 10:17:57 AM. About Us:Formulo is seeking a highly skilled and experienced Software Engineer to join our dynamicโฆ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 โ Digantara
Role โ Junior Data Scientist
Exp. โ Fresher
Responsibilities โ
โข Develop and implement statistics-based algorithms to enhance the accuracy and quality of space data
โข Build and deploy machine learning models to classify space-based events and categorize them accordingly
โข Create regression models to predict the trajectories and behaviours of space objects, considering various dynamic factors
โข Develop robust evaluation frameworks to assess the performance of classification and regression models, continuously iterating on algorithms for enhanced accuracy and efficiency
โข Collaborate with interdisciplinary teams to integrate machine learning solutions into our Space-MAPโข๏ธ platform, ensuring seamless compatibility with existing systems
Skills โ
โข Proficiency in basic descriptive statistics, hypothesis testing, feature transformation, dimensionality reduction, supervised or unsupervised learning, model tuning, and validation.
โข Hands-on experience in developing machine learning models for classification and regression in a professional setting.
โข Knowledge of data structures and various machine learning techniques. Familiarity with deep learning networks and other numerical algorithms.
Preferred :-
โข Hands-on experience with Python packages for data analysis.
โข Proficiency in programming languages such as Python, with experience in relevant libraries and frameworks.
โข Experience with parallel programming and version control.
Apply Here โ https://www.linkedin.com/jobs/view/3930503997
Role โ Junior Data Scientist
Exp. โ Fresher
Responsibilities โ
โข Develop and implement statistics-based algorithms to enhance the accuracy and quality of space data
โข Build and deploy machine learning models to classify space-based events and categorize them accordingly
โข Create regression models to predict the trajectories and behaviours of space objects, considering various dynamic factors
โข Develop robust evaluation frameworks to assess the performance of classification and regression models, continuously iterating on algorithms for enhanced accuracy and efficiency
โข Collaborate with interdisciplinary teams to integrate machine learning solutions into our Space-MAPโข๏ธ platform, ensuring seamless compatibility with existing systems
Skills โ
โข Proficiency in basic descriptive statistics, hypothesis testing, feature transformation, dimensionality reduction, supervised or unsupervised learning, model tuning, and validation.
โข Hands-on experience in developing machine learning models for classification and regression in a professional setting.
โข Knowledge of data structures and various machine learning techniques. Familiarity with deep learning networks and other numerical algorithms.
Preferred :-
โข Hands-on experience with Python packages for data analysis.
โข Proficiency in programming languages such as Python, with experience in relevant libraries and frameworks.
โข Experience with parallel programming and version control.
Apply Here โ https://www.linkedin.com/jobs/view/3930503997
Linkedin
Digantara hiring Junior Data Scientist in Bengaluru, Karnataka, India | LinkedIn
Posted 9:41:24 PM. Digantara is building the world's first maps for space, Space-Mission Assuranceโฆ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)
Sorted is hiring SDE Backend (Full Time)
For 2024, 2023, 2022 grads
https://www.linkedin.com/posts/jahanvi-khandelwal-7a1b571b5_google-forms-sign-in-activity-7198194015320612864-ntrg
For 2024, 2023, 2022 grads
https://www.linkedin.com/posts/jahanvi-khandelwal-7a1b571b5_google-forms-sign-in-activity-7198194015320612864-ntrg
Linkedin
Jahanvi Khandelwal on LinkedIn: Google Forms: Sign-in | 13 comments
#Sorted is Hiring!!!
Join the dynamic Sorted backend team! We're seeking both freshers and experienced developers with skills in JavaScript and Springโฆ | 13 comments on LinkedIn
Join the dynamic Sorted backend team! We're seeking both freshers and experienced developers with skills in JavaScript and Springโฆ | 13 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hiring Software Tester/Quality Analyst (Fresher to 2 years)
share cv at manpreet@bluemiledigital.in or call/whatsapp at 9878220081.
#Location- Phase 8B, Mohali
#workfromofficeonly
share cv at manpreet@bluemiledigital.in or call/whatsapp at 9878220081.
#Location- Phase 8B, Mohali
#workfromofficeonly
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hiring for Trained Freshers | No of Openings: 20 | CTC: 3.00 LPA
Send resumes to hr@lyrostech.com
Location: Hyderabad - WFO
Role: Software Engineer
Role: Permanent
YOP: 2022 to 2024 only
Mandatory to have Excellent Communication Skills
Strictly not Work from Home
What we're looking for:
- Trained fresher with a solid understanding of Apigee, GCP, or DevOps concepts.
- Enthusiastic individuals with a thirst for knowledge and a drive to excel.
- Strong communication and teamwork skills.
Send resumes to hr@lyrostech.com
Location: Hyderabad - WFO
Role: Software Engineer
Role: Permanent
YOP: 2022 to 2024 only
Mandatory to have Excellent Communication Skills
Strictly not Work from Home
What we're looking for:
- Trained fresher with a solid understanding of Apigee, GCP, or DevOps concepts.
- Enthusiastic individuals with a thirst for knowledge and a drive to excel.
- Strong communication and teamwork skills.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Splore
Software Engineer - Python
What is Splore?
Splore is redefining how enterprises harness the power of generative AI and multi-agent systems. We work closely with established partners across industries like finance, legal, and tech, enabling them to solve real-world challenges and driveโฆ
Splore is redefining how enterprises harness the power of generative AI and multi-agent systems. We work closely with established partners across industries like finance, legal, and tech, enabling them to solve real-world challenges and driveโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Paid Internship Opportunity : Program Management Intern
Duration : 3 Months
Location : Gurugram
Interested candidates send your CV to
harshit@collegesearch.in
Duration : 3 Months
Location : Gurugram
Interested candidates send your CV to
harshit@collegesearch.in
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Cornerstone
๐ Job Title: Software Engineer
โ๐ป YOE: 2022 and 2023 grads
โก๏ธ Apply: https://cornerstone.csod.com/ux/ats/careersite/2/home/requisition/9535?c=cornerstone
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
๐ Job Title: Software Engineer
โ๐ป YOE: 2022 and 2023 grads
โก๏ธ Apply: https://cornerstone.csod.com/ux/ats/careersite/2/home/requisition/9535?c=cornerstone
Please do share in your college grps and in case you are applying please react on this post:) ๐โค๏ธ
#include <bits/stdc++.h>
using namespace std;
vector<int> solve(int N, int M, vector<int> time) {
vector<int> ans(M, 0);
vector<vector<int>> v(N);
for(int i = 0; i < M; ++i) {
v[i % N].push_back(i);
}
int departure = 0;
for(int i = 0; i < N; ++i) {
if(!v[i].empty()) {
ans[v[i][0]] = time[v[i][0]] + 1;
departure = ans[v[i][0]];
}
for(int j = 1; j < v[i].size(); ++j) {
int idx = v[i][j];
int val1 = time[idx];
if(departure > val1) {
ans[idx] = departure + 1;
departure++;
} else {
departure = val1 + 1;
ans[idx] = departure;
}
}
}
return ans;
}
Shopping and Billing โ
using namespace std;
vector<int> solve(int N, int M, vector<int> time) {
vector<int> ans(M, 0);
vector<vector<int>> v(N);
for(int i = 0; i < M; ++i) {
v[i % N].push_back(i);
}
int departure = 0;
for(int i = 0; i < N; ++i) {
if(!v[i].empty()) {
ans[v[i][0]] = time[v[i][0]] + 1;
departure = ans[v[i][0]];
}
for(int j = 1; j < v[i].size(); ++j) {
int idx = v[i][j];
int val1 = time[idx];
if(departure > val1) {
ans[idx] = departure + 1;
departure++;
} else {
departure = val1 + 1;
ans[idx] = departure;
}
}
}
return ans;
}
Shopping and Billing โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Dhruva | Software Engineer - Freshers | Pune
OG post: https://www.linkedin.com/posts/osho-pandey_jobs-activity-7198636961555705858-MJN7?utm_source=share&utm_medium=member_android
OG post: https://www.linkedin.com/posts/osho-pandey_jobs-activity-7198636961555705858-MJN7?utm_source=share&utm_medium=member_android
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hiring for US Banking domain for freshers 2023 , 24 yr passed out
Work location - Accenture , Chennai
wfo option . US shift
knowledge needed in accounts , finance , basic banking skills
Good comm skills needed
Share ur resume to HR
Adarsh.elango@accenture.com
Work location - Accenture , Chennai
wfo option . US shift
knowledge needed in accounts , finance , basic banking skills
Good comm skills needed
Share ur resume to HR
Adarsh.elango@accenture.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Data Science Intern at PayU
https://jobs.eu.lever.co/payu/330d411a-955b-4545-902c-b983d44ed167?lever-via=b9DCJyVgUL&lever-social=job_site
SDE intern are Closed
https://jobs.eu.lever.co/payu/330d411a-955b-4545-902c-b983d44ed167?lever-via=b9DCJyVgUL&lever-social=job_site
SDE intern are Closed
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Software Engineer at Cimba.ai
2024 Batch
CTC: 4.2 lpa to 15 lpa + ESOP
https://www.linkedin.com/jobs/view/3924050339
2024 Batch
CTC: 4.2 lpa to 15 lpa + ESOP
https://www.linkedin.com/jobs/view/3924050339
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Python Developer Intern(Fresh Batch) at Prometrics Solutions
Base salary
โน400,000/yr - โน500,000/yr
https://app.pyjamahr.com/careers?company=Prometrics%20Solutions&job_id=98410&company_uuid=50A819F913
Base salary
โน400,000/yr - โน500,000/yr
https://app.pyjamahr.com/careers?company=Prometrics%20Solutions&job_id=98410&company_uuid=50A819F913
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
BiteSpeed is hiring Backend Developer (Full Time)
For 2023, 2022 grads
Check out this job at BiteSpeed: https://www.linkedin.com/jobs/view/3925576614
For 2023, 2022 grads
Check out this job at BiteSpeed: https://www.linkedin.com/jobs/view/3925576614
Linkedin
21,000+ Back End Developer jobs in India (806 new)
Todayโs top 21,000+ Back End Developer jobs in India. Leverage your professional network, and get hired. New Back End Developer jobs added daily.