static final int MOD = 1000000007;
public static long calculateSurprisingSum(long N) {
long sum = 0;
for(int i = 0; i <= 33; i++) {
for(int j = i + 1; j <= 33; j++) {
for(int k = j + 1; k <= 33; k++) {
long number = (1L << i) + (1L << j) + (1L << k);
if(number <= N) {
sum = (sum + number) % MOD;
}
}
}
}
return sum;
}
Find surprising number sum โ
ZS
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
static final int MOD = 1000000007; public static long calculateSurprisingSum(long N) { long sum = 0; for(int i = 0; i <= 33; i++) { for(int j = i + 1; j <= 33; j++) { for(int k = j + 1; k <= 33; k++) { โฆ
def surprising_number_sum(N):
MOD = 1000000007
surprising_sum = 0
for num in range(1, N + 1):
if bin(num).count('1') == 3:
surprising_sum += num
return surprising_sum % MOD
MOD = 1000000007
surprising_sum = 0
for num in range(1, N + 1):
if bin(num).count('1') == 3:
surprising_sum += num
return surprising_sum % MOD
Citi (intern) โ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Send your resumes to careers@iorbit-tech.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐Lenovo is hiring for Digital Technology Analyst- Freshers (2024)
Experience: 0 - 1 years
Expected Salary: 5 LPA - 8 LPA
Apply here: https://cuvette.tech/app/other-jobs/6705290395149c08e4e99da4?referralCode=9NLDH1
๐UPS is hiring for Applications Developer- Freshers (2024)
Experience: 0 - 1 years
Expected Salary: 4 LPA - 7 LPA
Apply here: https://cuvette.tech/app/other-jobs/670528793e960bf3b6ecca0b?referralCode=9NLDH1
๐Honeywell is hiring for C++ Developer- Freshers (2024)
Experience: 0 - 1 years
Expected Salary: 5 LPA - 8 LPA
Apply here: https://cuvette.tech/app/other-jobs/670527c814f544ebe806c62c?referralCode=9NLDH1
Experience: 0 - 1 years
Expected Salary: 5 LPA - 8 LPA
Apply here: https://cuvette.tech/app/other-jobs/6705290395149c08e4e99da4?referralCode=9NLDH1
๐UPS is hiring for Applications Developer- Freshers (2024)
Experience: 0 - 1 years
Expected Salary: 4 LPA - 7 LPA
Apply here: https://cuvette.tech/app/other-jobs/670528793e960bf3b6ecca0b?referralCode=9NLDH1
๐Honeywell is hiring for C++ Developer- Freshers (2024)
Experience: 0 - 1 years
Expected Salary: 5 LPA - 8 LPA
Apply here: https://cuvette.tech/app/other-jobs/670527c814f544ebe806c62c?referralCode=9NLDH1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐Michelin is hiring for Software Engineer
Experience: 0 - 1 year's
Expected Salary: 8-16 LPA
Apply here: https://michelinhr.wd3.myworkdayjobs.com/Michelin/job/Pune/Software-Engineer_R-2024031577-1
๐Baazi Games is hiring for React Native Engineer
Experience: 0 - 1 year's
Expected Salary: 10-20 LPA
Apply here: https://www.linkedin.com/jobs/view/4042932593/
Experience: 0 - 1 year's
Expected Salary: 8-16 LPA
Apply here: https://michelinhr.wd3.myworkdayjobs.com/Michelin/job/Pune/Software-Engineer_R-2024031577-1
๐Baazi Games is hiring for React Native Engineer
Experience: 0 - 1 year's
Expected Salary: 10-20 LPA
Apply here: https://www.linkedin.com/jobs/view/4042932593/
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: UnifyApps
Role: SDET - Freshers
Batch eligible: 2024 grads
If interested, send your resume over zetendra@unifyapps.com
Role: SDET - Freshers
Batch eligible: 2024 grads
If interested, send your resume over zetendra@unifyapps.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Rakuten is hiring Interns
MBA passouts
2024 batch
Send mail to recruit : shravan.mundra@rakuten.com
MBA passouts
2024 batch
Send mail to recruit : shravan.mundra@rakuten.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐KGiSL Hiring
Freshers as AWS Trainee (AWS & Linux)
Position Title : AWS Trainee or Consultant
Experience : 0 - 1.5 years
Mandatory skill - AWS, Linux
Location : Coimbatore
Interested candidates can share your CV to praveen.kowsik@kgisl.com
Freshers as AWS Trainee (AWS & Linux)
Position Title : AWS Trainee or Consultant
Experience : 0 - 1.5 years
Mandatory skill - AWS, Linux
Location : Coimbatore
Interested candidates can share your CV to praveen.kowsik@kgisl.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐Techolution looking for talented Python Interns
Location: Hyderabad
Batch: 2024/2025
Duration: 6 - 12 months
Skills
- Knowledge of Python required.
- AWS, & Cloud
Send your details at:
cavery.mahajan@techolution.com
Location: Hyderabad
Batch: 2024/2025
Duration: 6 - 12 months
Skills
- Knowledge of Python required.
- AWS, & Cloud
Send your details at:
cavery.mahajan@techolution.com
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐ Company: Bluetris Technologies
โจExciting Opportunity for DevOps freshers in Jaipur!
๐น Position: DevOps Engineer
(0-6 Months Experience)
๐น Location: Jaipur
Key Skills:
- Understanding of DevOps principles and practices
- Experience with tools like Docker, Kubernetes, Jenkins, and Git
- Knowledge of cloud platforms (AWS, Azure, GCP) is a plus
- Strong problem-solving skills and a proactive attitude
๐ฉ To Apply: Send your resume to Khushi.bumb@bluetris.com
โจExciting Opportunity for DevOps freshers in Jaipur!
๐น Position: DevOps Engineer
(0-6 Months Experience)
๐น Location: Jaipur
Key Skills:
- Understanding of DevOps principles and practices
- Experience with tools like Docker, Kubernetes, Jenkins, and Git
- Knowledge of cloud platforms (AWS, Azure, GCP) is a plus
- Strong problem-solving skills and a proactive attitude
๐ฉ To Apply: Send your resume to Khushi.bumb@bluetris.com
๐1๐1
import java.util.*;
public class Main {
public int[] solution(int[] skills) {
int N = skills.length;
int[] results = new int[N];
List<Integer> e = new ArrayList<>();
for (int i = 0; i < N; i++) {
e.add(i);
}
int round = 1;
while (e.size() > 1) {
List<Integer> r = new ArrayList<>();
for (int i = 0; i < e.size(); i += 2) {
int player1 = e.get(i);
int player2 = e.get(i + 1);
if (skills[player1] > skills[player2]) {
results[player2] = round;
r.add(player1);
} else {
results[player1] = round;
r.add(player2);
}
}
e = r;
round++;
}
results[e.get(0)] = round - 1;
return results;
}
๐1๐1