def roman_to_decimal(a):
b = {'I': 1, 'V': 5, 'X': 10, 'L': 50}
c = 0
for i in range(len(a)):
if i > 0 and b[a[i]] > b[a[i - 1]]:
c += b[a[i]] - 2 * b[a[i - 1]]
else:
c += b[a[i]]
return c
def sortRoman(names):
def custom_sort(e):
d = e.split()
return (d[0], roman_to_decimal(d[1]))
sorted_names = sorted(names, key=custom_sort)
return sorted_names
Romanizer โ
b = {'I': 1, 'V': 5, 'X': 10, 'L': 50}
c = 0
for i in range(len(a)):
if i > 0 and b[a[i]] > b[a[i - 1]]:
c += b[a[i]] - 2 * b[a[i - 1]]
else:
c += b[a[i]]
return c
def sortRoman(names):
def custom_sort(e):
d = e.split()
return (d[0], roman_to_decimal(d[1]))
sorted_names = sorted(names, key=custom_sort)
return sorted_names
Romanizer โ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Even Healthcare
Batch : 2025 passouts
Role : SDE Interns - 6 months
Link : https://careers.even.in/open-roles/backend-engineering-intern
Batch : 2025 passouts
Role : SDE Interns - 6 months
Link : https://careers.even.in/open-roles/backend-engineering-intern
๐คฎ1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
AMD is hiring for Co-Op/Intern
Experience: 0 - 1 years
Expected Stipend: 3-6 LPA
Apply here: https://careers.amd.com/careers-home/jobs/53068/job?iis=Job%20Board&iisn=Indeed&indeed-apply-token=73a2d2b2a8d6d5c0a62696875eaebd669103652d3f0c2cd5445d3e66b1592b0f
Experience: 0 - 1 years
Expected Stipend: 3-6 LPA
Apply here: https://careers.amd.com/careers-home/jobs/53068/job?iis=Job%20Board&iisn=Indeed&indeed-apply-token=73a2d2b2a8d6d5c0a62696875eaebd669103652d3f0c2cd5445d3e66b1592b0f
๐คฎ2
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐ข1
def a(b, c, d, e, f, g):
if c == e:
g.append(tuple(sorted(f)))
return
if c > e or b >= len(d):
return
a(b + 1, c + d[b], d, e, f + [d[b]], g)
a(b + 1, c, d, e, f, g)
def h(i, j, k):
l = []
a(0, 0, k, j, [], l)
m = set(l)
return len(m)
n, k = map(int, input().split())
pieces = list(map(int, input().split()))
print(h(n, k, pieces))
The Puzzle Masters of puzzleville โ
DeltaX
๐1๐คฎ1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Sakshi Srivastava on LinkedIn: Hi Everyone !!
We are hiring Graduate fresher's for Conduent
Role-โฆ | 15 comments
We are hiring Graduate fresher's for Conduent
Role-โฆ | 15 comments
Hi Everyone !!
We are hiring Graduate fresher's for Conduent
Role- Transaction Processing Associate
Location- Noida Sector 135 (On-site)
Mode of Interview-โฆ | 15 comments on LinkedIn
We are hiring Graduate fresher's for Conduent
Role- Transaction Processing Associate
Location- Noida Sector 135 (On-site)
Mode of Interview-โฆ | 15 comments on LinkedIn
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Dream 11
Role: SDE 1
YOE: 0-2 years
Apply: https://jobs.lever.co/dreamsports/93fe293c-f410-481e-93f4-005795c29788
Role: SDE 1
YOE: 0-2 years
Apply: https://jobs.lever.co/dreamsports/93fe293c-f410-481e-93f4-005795c29788
โค1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Synopsys
Role: Software Engineer
Batch eligible: 2024 grads (2025 can try but chances are very low)
Apply: https://careers.synopsys.com/job/-/-/44408/71068434688?codes=OT
Role: Software Engineer
Batch eligible: 2024 grads (2025 can try but chances are very low)
Apply: https://careers.synopsys.com/job/-/-/44408/71068434688?codes=OT
Company
Working at Synopsys
Browse available job openings at Synopsys
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Loweโs
Role: Associate Software Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://talent.lowes.com/in/en/job/JR-01854460/Associate-Software-Engineer
Role: Associate Software Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://talent.lowes.com/in/en/job/JR-01854460/Associate-Software-Engineer
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Baker Hughes
Role: Early Career Trainee - Software Engineering
Batch eligible: 2024 grads only
Apply: https://careers.bakerhughes.com/global/en/job/BAHUGLOBALR132004/Early-Career-Trainee-Software-Engineering
Role: Early Career Trainee - Software Engineering
Batch eligible: 2024 grads only
Apply: https://careers.bakerhughes.com/global/en/job/BAHUGLOBALR132004/Early-Career-Trainee-Software-Engineering
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Send your resumes to: careers@yalamanchili.in
#include <vector>
#include <algorithm>
bool isPal(int x) {
int orig = x, rev = 0;
while (x > 0) {
rev = rev * 10 + x % 10;
x /= 10;
}
return orig == rev;
}
vector<int> solution(vector<int>& trans) {
vector<int> pal;
for (int t : trans) {
if (isPal(t)) {
pal.push_back(t);
}
}
sort(pal.rbegin(), pal.rend());
return pal;
}
Visa โ
#include <algorithm>
bool isPal(int x) {
int orig = x, rev = 0;
while (x > 0) {
rev = rev * 10 + x % 10;
x /= 10;
}
return orig == rev;
}
vector<int> solution(vector<int>& trans) {
vector<int> pal;
for (int t : trans) {
if (isPal(t)) {
pal.push_back(t);
}
}
sort(pal.rbegin(), pal.rend());
return pal;
}
Visa โ
from collections import deque
def solution(latencies, threshold):
m = deque()
n = deque()
start = 0
max_len = 0
for end in range(len(latencies)):
while m and latencies[m[-1]] <= latencies[end]:
m.pop()
while n and latencies[n[-1]] >= latencies[end]:
n.pop()
m.append(end)
n.append(end)
while latencies[m[0]] - latencies[n[0]] > threshold:
start += 1
if m[0] < start:
m.popleft()
if n[0] < start:
n.popleft()
max_len = max(max_len, end - start + 1)
return max_len
Visa โ
def findLocalMaximums(a):
def is_local_maximum(b, c):
d = a[b][c]
if d == 0:
return False
r = d * 2 + 1
h = d
rs = max(0, b - h)
rn = min(len(a) - 1, b + h)
cs = max(0, c - h)
cn = min(len(a[0]) - 1, c + h)
for x in range(rs, rn + 1):
for y in range(cs, cn + 1):
if (x == b - h and (y == c - h or y == c + h)) or \
(x == b + h and (y == c - h or y == c + h)):
continue
if (x, y) != (b, c) and a[x][y] >= d:
return False
return True
result = []
for b in range(len(a)):
for c in range(len(a[0])):
if is_local_maximum(b, c):
result.append([b, c])
return sorted(result)
Visa โ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Megha Garg on LinkedIn: #hiring #googlecloud #softwaredeveloper #careeropportunities #techjobs | 103 comments
๐ Another Opening in My team at Google Cloud ๐
Location - Bangalore ๐บ๏ธ
Experience - 0-2 Yrs ๐งข
Role - Software Developer (SWE II)๐ป
๐ข About Team -
Ourโฆ | 103 comments on LinkedIn
Location - Bangalore ๐บ๏ธ
Experience - 0-2 Yrs ๐งข
Role - Software Developer (SWE II)๐ป
๐ข About Team -
Ourโฆ | 103 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
GeeksforGeeks is looking for a Member of Technical Staff (MTS) Intern - Data Structures and Algorithms (DSA) to join our dynamicโฆ
GeeksforGeeks is looking for a Member of Technical Staff (MTS) Intern - Data Structures and Algorithms (DSA) to join our dynamic team! If youโre passionate about DSA and eager to enhance your skills in algorithm design and problem-solving, this is the perfectโฆ
#include <iostream>
#include <cmath>
#include <algorithm>
int solution(int M, int N) {
int total_area = 4 * N + M;
int x = static_cast<int>(:sqrt(total_area));
while (x > 0) {
int needed_tiles = x * x;
int max_2x2_tiles = (x / 2) * (x / 2);
if (needed_tiles <= 4 * min(N, max_2x2_tiles) + M) {
return x;
}
--x;
}
return 0;
}
Microsoft โ
Task 1
๐1