All placement help available
✔️ Tech Mahindra
✔️ Goldman Sachs - 2
✔️ Wipro Elite
✔️ Cognizant
✔️ Capgemini
✔️ Wells Fargo
✔️ Flipkart SDE
✔️ IBM - all Roles
✔️ Amazon SDE
Any other on // off campus
All exam's Help available with 💯 test Clearance
DM : @Mrtrueliving_ix✔️
High success rate 👣
Any other on // off campus
All exam's Help available with 💯 test Clearance
DM : @Mrtrueliving_ix
High success rate 👣
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
All placement Exam's Help available
DM @Mrtrueliving_ix for test clearance
💯 Success rate 💻 🎉
Check previous helping proofs⭐️
DM @Mrtrueliving_ix for test clearance
Check previous helping proofs
Please open Telegram to view this post
VIEW IN TELEGRAM
Wipro Elite Help Available.....⭐️
All Slots are available.💪
Test clearance 💯🔥🙌
Check previous helping proofs
https://t.me/code_alphix/5358?single
More ......
DM @Mrtrueliving_ix
All Slots are available.
Test clearance 💯🔥🙌
Check previous helping proofs
https://t.me/code_alphix/5358?single
More ......
DM @Mrtrueliving_ix
Book your Slots according your time
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Wipro 12 pm || OFF campus Help done
All MCQs + coding+ essay writing✔️
Test accomplished✅
Those who need Test Clearance
DM for help ( all test)
@Mrtrueliving_ix @Mrtrueliving_ix
#WiproElite #OFFCAMPUS #Round1
All MCQs + coding+ essay writing
Test accomplished
Those who need Test Clearance
DM for help ( all test)
@Mrtrueliving_ix @Mrtrueliving_ix
#WiproElite #OFFCAMPUS #Round1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Wipro 3 pm Help available....
DM @Mrtrueliving_ix✅ for test clearance
Check previous helping proofs & placement offer 🫴🔸
DM @Mrtrueliving_ix
Check previous helping proofs & placement offer 🫴
Please open Telegram to view this post
VIEW IN TELEGRAM
Flipkart SDE Help available.....
DM @Mrtrueliving_ix💯 🎉
Previous helping proofs💯
https://t.me/code_alphix/836
https://t.me/code_alphix/880
DM @Mrtrueliving_ix
Previous helping proofs
https://t.me/code_alphix/836
https://t.me/code_alphix/880
Please open Telegram to view this post
VIEW IN TELEGRAM
Gaint Egale Help done ✔️
Test accomplished 🪄
Pics sharing.....🎉 💻
#Gaint_Egale #Offcampus
Test accomplished 🪄
Pics sharing.....
All placement help available
#Gaint_Egale #Offcampus
Please open Telegram to view this post
VIEW IN TELEGRAM
Flipkart codes are available
DM @Mrtrueliving_ix✔️ 💯 🎉
💯 Verfied codes are available
N application🎉
Network🎉
N Trolleys🎉
DM @Mrtrueliving_ix
💯 Verfied codes are available
Please open Telegram to view this post
VIEW IN TELEGRAM
n = int(input())
a = list(map(int, input().split()))
k = int(input())
res = []
i = 0
while i < n and len(res) < k:
if a[i] < 0:
res.append(i + 1)
a[i] *= -1
if i + 1 < n:
a[i + 1] *= -1
i += 1
if any(x < 0 for x in a):
print(-1)
else:
print(' '.join(map(str, res)))
N application✔️
a = list(map(int, input().split()))
k = int(input())
res = []
i = 0
while i < n and len(res) < k:
if a[i] < 0:
res.append(i + 1)
a[i] *= -1
if i + 1 < n:
a[i + 1] *= -1
i += 1
if any(x < 0 for x in a):
print(-1)
else:
print(' '.join(map(str, res)))
N application
Please open Telegram to view this post
VIEW IN TELEGRAM
👀1
Please open Telegram to view this post
VIEW IN TELEGRAM
#include <bits/stdc++.h>
using namespace std;
struct T {
int s, e, p;
};
int findLast(vector<T>& t, int i) {
int l = 0, h = i - 1, r = -1;
while (l <= h) {
int m = l + (h - l) / 2;
if (t[m].e <= t[i].s) {
r = m;
l = m + 1;
} else {
h = m - 1;
}
}
return r;
}
int maxP(int n, vector<T>& t) {
if (!n) return 0;
sort(t.begin(), t.end(), [](const T& a, const T& b) {
return a.e == b.e ? a.s < b.s : a.e < b.e;
});
vector<long long> dp(n + 1, 0);
for (int i = 0; i < n; i++) {
dp[i + 1] = dp[i];
int j = findLast(t, i);
if (j != -1) {
dp[i + 1] = max(dp[i + 1], dp[j + 1] + t[i].p);
} else {
dp[i + 1] = max(dp[i + 1], (long long)t[i].p);
}
}
return dp[n];
}
int main() {
int n, m;
cin >> n >> m;
vector<T> t(n);
for (int i = 0; i < n; i++) {
cin >> t[i].s >> t[i].e >> t[i].p;
}
cout << maxP(n, t) << endl;
return 0;
}
N- trolley✔️
using namespace std;
struct T {
int s, e, p;
};
int findLast(vector<T>& t, int i) {
int l = 0, h = i - 1, r = -1;
while (l <= h) {
int m = l + (h - l) / 2;
if (t[m].e <= t[i].s) {
r = m;
l = m + 1;
} else {
h = m - 1;
}
}
return r;
}
int maxP(int n, vector<T>& t) {
if (!n) return 0;
sort(t.begin(), t.end(), [](const T& a, const T& b) {
return a.e == b.e ? a.s < b.s : a.e < b.e;
});
vector<long long> dp(n + 1, 0);
for (int i = 0; i < n; i++) {
dp[i + 1] = dp[i];
int j = findLast(t, i);
if (j != -1) {
dp[i + 1] = max(dp[i + 1], dp[j + 1] + t[i].p);
} else {
dp[i + 1] = max(dp[i + 1], (long long)t[i].p);
}
}
return dp[n];
}
int main() {
int n, m;
cin >> n >> m;
vector<T> t(n);
for (int i = 0; i < n; i++) {
cin >> t[i].s >> t[i].e >> t[i].p;
}
cout << maxP(n, t) << endl;
return 0;
}
N- trolley
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2❤1🫡1
n = int(input())
s = list(map(int, input().split()))
m = int(input())
r = list(map(int, input().split()))
ss = set(s)
sr = set(r)
fs = [x for x in s if x in sr]
fr = [x for x in r if x in ss]
fn, fm = len(fs), len(fr)
if not fn or not fm:
print(0)
exit()
dp = [[0] * (fm + 1) for _ in range(fn + 1)]
for i in range(1, fn + 1):
for j in range(1, fm + 1):
if fs[i-1] == fr[j-1]:
dp[i][j] = dp[i-1][j-1] + 1
else:
dp[i][j] = max(dp[i-1][j], dp[i][j-1])
print(dp[fn][fm])
Network✔️
s = list(map(int, input().split()))
m = int(input())
r = list(map(int, input().split()))
ss = set(s)
sr = set(r)
fs = [x for x in s if x in sr]
fr = [x for x in r if x in ss]
fn, fm = len(fs), len(fr)
if not fn or not fm:
print(0)
exit()
dp = [[0] * (fm + 1) for _ in range(fn + 1)]
for i in range(1, fn + 1):
for j in range(1, fm + 1):
if fs[i-1] == fr[j-1]:
dp[i][j] = dp[i-1][j-1] + 1
else:
dp[i][j] = max(dp[i-1][j], dp[i][j-1])
print(dp[fn][fm])
Network
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1