from collections import Counter
def solve(a):
b = Counter(a)
c = []
d = ''
for e in sorted(b.keys()):
f = b[e]
if f % 2 == 1:
if not d:
d = e
f -= 1
c.append(e * (f // 2))
g = ''.join(c)
return g + d + g[::-1]
h = int(input().strip())
i = []
for _ in range(h):
j = input().strip()
i.append(solve(j))
print("\n".join(i))
MAQ Software โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company: GXS Bank
Role: Software Engineering Internship
Batch: 2025, 2026, 2027
https://www.linkedin.com/jobs/view/4071854518
Role: Software Engineering Internship
Batch: 2025, 2026, 2027
https://www.linkedin.com/jobs/view/4071854518
Linkedin
GXS Bank hiring Software Engineering Internship in Bengaluru, Karnataka, India | LinkedIn
Posted 2:14:41 AM. About usGRXST Software Services Pvt Ltd, part of the esteemed GXS Bank Pte Ltd group of companiesโฆ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 : SupraOracles
Program: Career Academy
Batch: 2027
Rewards: Mentorship + Skills + Interview Opportunity at Paypal
https://boards.greenhouse.io/supraoracles/jobs/5191557004
Program: Career Academy
Batch: 2027
Rewards: Mentorship + Skills + Interview Opportunity at Paypal
https://boards.greenhouse.io/supraoracles/jobs/5191557004
boards.greenhouse.io
Research Internship (Blockchain Storage)
Remote
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company: SuperKalam (YC W23)
Role: Backend Engineer (Internship)
Stipend: โน30K - โน47K INR
Location: Bengaluru, KA, IN / Remote (Bengaluru, KA, IN)
https://www.ycombinator.com/companies/superkalam/jobs/rxajsHH-backend-engineer-internship
Role: Backend Engineer (Internship)
Stipend: โน30K - โน47K INR
Location: Bengaluru, KA, IN / Remote (Bengaluru, KA, IN)
https://www.ycombinator.com/companies/superkalam/jobs/rxajsHH-backend-engineer-internship
Y Combinator
Backend Engineer (Internship) at SuperKalam
This is a position for a super pumped intern who has good engineering fundamentals and wants to work on diverse projects (personalisation, recommendation, scale, etc) in a fast-pace environment\
\
**Application form:** <https://forms.gle/RV48eArCpe8p6P3SA>โฆ
\
**Application form:** <https://forms.gle/RV48eArCpe8p6P3SA>โฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company : Paypal
Program: Career Academy
Batch: 2027
Rewards: Mentorship + Skills + Interview Opportunity at PayPal
http://paypal.eightfold.ai/events/candidate/landing?plannedEventId=OYoXKVoK&source=KrishanKumarLinkedin
Program: Career Academy
Batch: 2027
Rewards: Mentorship + Skills + Interview Opportunity at PayPal
http://paypal.eightfold.ai/events/candidate/landing?plannedEventId=OYoXKVoK&source=KrishanKumarLinkedin
paypal.eightfold.ai
Career Academy
The Career Academy is a curated educational program designed to enable First Generation students entering their second year at University to prepare for a future career in tech. Students will learn valuable skills in interviewing, networking, professionalโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
job-boards.greenhouse.io
66degrees
<p>Shaping the Future of Work with Cloud, Data and AI
At 66degrees, we help companies unlock value by transforming Customer Experiences and Business Operations through innovative Cloud, Data and AI solutions.
Success is Predictable.</p>
At 66degrees, we help companies unlock value by transforming Customer Experiences and Business Operations through innovative Cloud, Data and AI solutions.
Success is Predictable.</p>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
vector<int> computeLPSArray(const string& str) {
int n = str.length();
vector<int> lps(n, 0);
int len = 0;
int i = 1;
while (i < n) {
if (str[i] == str[len]) {
len++;
lps[i] = len;
i++;
}
else {
if (len != 0) {
len = lps[len - 1];
}
else {
lps[i] = 0;
i++;
}
}
}
return lps;
}
int solution(string& S) {
int n = S.length();
if (n <= 1) return 0;
vector<int> lps = computeLPSArray(S);
return lps[n-1] < n ? lps[n-1] : lps[lps[n-1]-1];
}
Task1
Amex โ
๐2
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int solution(string &S) {
int N = S.length();
long long operations = 0;
int start = 0;
while (start < N && S[start] == '0') {
start++;
}
if (start == N) return 0;
for (int i = start; i < N; i++) {
if (S[i] == '1') {
operations += 2;
} else {
operations += 1;
}
}
operations--;
return operations;
}
Task2
Amexโ
int solution(vector<int> &A)
{
int n = A.size();
int res = 0;
multiset<int>st;
map<int, int>mp;
for (int i = 0; i < n; i++)
{
mp[A[i]]++;
st.insert(i);
while (mp.size() > 2) {
auto cur = *st.begin();
st.erase(cur);
mp[A[cur]]--;
if (mp[A[cur]] == 0) {
mp.erase(A[cur]);
}
}
res = max(res, (int)(st.size()));
}
return res;
}
Task3
Amex โ
import heapq
def solve(a, b, c):
d = [(x, x) for x in b]
heapq.heapify(d)
for _ in range(c):
e, f = heapq.heappop(d)
e += f
heapq.heappush(d, (e, f))
return max(e for e, _ in d)
t = int(input())
results = []
for _ in range(t):
a = int(input())
b = list(map(int, input().split()))
c = int(input())
results.append(solve(a, b, c))
for res in results:
print(res)
Vehant Technology โ
#include <bits/stdc++.h>
using namespace std;
long getDataDependenceSum(long n) {
set<long> dependentDays;
for (long k = 1; k * k <= n; ++k) {
dependentDays.insert(n / k);
dependentDays.insert(k);
}
long sum = 0;
for (auto day : dependentDays) {
sum += day;
}
return sum;
}
Amazon โ
using namespace std;
long getDataDependenceSum(long n) {
set<long> dependentDays;
for (long k = 1; k * k <= n; ++k) {
dependentDays.insert(n / k);
dependentDays.insert(k);
}
long sum = 0;
for (auto day : dependentDays) {
sum += day;
}
return sum;
}
Amazon โ
#include <ibits/stdc++.h>
using namespace std;
int count(int num, int p) {
int count = 0;
while (num % p == 0 && num > 0) {
count++;
num /= p;
}
return count;
}
int solve(int n, vector<vector<int>>& v) {
vector<vector<int>> dp2(n, vector<int>(n, INT_MAX));
vector<vector<int>> dp5(n, vector<int>(n, INT_MAX));
dp2[0][0] = count(v[0][0], 2);
dp5[0][0] = count(v[0][0], 5);
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
if (i > 0) {
dp2[i][j] = min(dp2[i][j], dp2[i - 1][j] + count(v[i][j], 2));
dp5[i][j] = min(dp5[i][j], dp5[i - 1][j] + count(v[i][j], 5));
}
if (j > 0) {
dp2[i][j] = min(dp2[i][j], dp2[i][j - 1] + count(v[i][j], 2));
dp5[i][j] = min(dp5[i][j], dp5[i][j - 1] + count(v[i][j], 5));
}
}
}
return min(dp2[n - 1][n - 1], dp5[n - 1][n - 1]);
}
Treasure Room โ
Netcore
Google has started releasing Internship Offers
For the openings shared in the previous months.
How many of you have received it?
For the openings shared in the previous months.
How many of you have received it?
๐คฉ1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Contact:
hr@radicalstart.com
+91-7867004400
hr@radicalstart.com
+91-7867004400
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐We Urgently Need Manual Testers - (QA Engineers FRESHERS) at Ventures Digital India
Role: Associate Manual Tester [QA Engineer]
Qualification: Bachelor's Degree
Industry: IT/Software
Experience: 0-3 Year
Required Skills:
- Basic knowledge of Manual Testing
- Familiarity with Test Case Creation and Defect Management
- Basic knowledge of JIRA Tools
Note- Hybrid Mode [2 Days work from office]
Email- Neha.Toke@venturesdigitalindia.com
Role: Associate Manual Tester [QA Engineer]
Qualification: Bachelor's Degree
Industry: IT/Software
Experience: 0-3 Year
Required Skills:
- Basic knowledge of Manual Testing
- Familiarity with Test Case Creation and Defect Management
- Basic knowledge of JIRA Tools
Note- Hybrid Mode [2 Days work from office]
Email- Neha.Toke@venturesdigitalindia.com
Forwarded from Coding Interview โฅ
ACCENTURE Interview Experience
1) Self Intro ?
2) Project - Major & Minor ?
3) Difficulty Faced in Project?
4) Least subject u like. Why it is least?
5) Hobbies I said in Self Intro
From Hobbies ( chess) he Asked y u
like that, do u play by Moves Names
or Randomly Last but not the Least.
6) Do u have any Questions ?
1) Self Intro ?
2) Project - Major & Minor ?
3) Difficulty Faced in Project?
4) Least subject u like. Why it is least?
5) Hobbies I said in Self Intro
From Hobbies ( chess) he Asked y u
like that, do u play by Moves Names
or Randomly Last but not the Least.
6) Do u have any Questions ?