Throughtworks π
4/4 codes are doneπ£
Test accomplished
-@mrtrueliving_ix
Help available
-@mrtrueliving_ixβΆοΈ
#Throughtworks #SW #DONE
4/4 codes are done
Test accomplished
-@mrtrueliving_ix
Help available
-@mrtrueliving_ix
#Throughtworks #SW #DONE
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
Wayfair βΆοΈ π£
Test accomplished β€οΈ
All 3/3 codes are doneπ±
-@mrtrueliving_ix
-@mrtrueliving_ix
#Wayfair #ONCAMPUS
Test accomplished β€οΈ
All 3/3 codes are done
-@mrtrueliving_ix
-@mrtrueliving_ix
#Wayfair #ONCAMPUS
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Accenture slot-7pm slot
90-90 MCQ β π§βπ»
2-2 coding -Pythonβ π§βπ»
Using remote access β€οΈ
Mission accomplished π¨βπ»π«π
#Team_AlphaβΎοΈ
-@mrtrueliving_ix βΊοΈβΆοΈ
-@mrtrueliving_ix βΊοΈβΆοΈ
#Accenture #PADA #offcampus #shortlisted
90-90 MCQ β π§βπ»
2-2 coding -Pythonβ π§βπ»
Using remote access β€οΈ
Mission accomplished π¨βπ»π«π
#Team_AlphaβΎοΈ
-@mrtrueliving_ix βΊοΈ
-@mrtrueliving_ix βΊοΈ
#Accenture #PADA #offcampus #shortlisted
Please open Telegram to view this post
VIEW IN TELEGRAM
Channel name was changed to Β«MAQ || Accenture ON // OFF campus </> || infoedge || Cognizant || Amazon || Walmart || L & T || IBM EXAM HELPΒ»
Successfully cleared π―βΊοΈPrev :
Using 3 remote access tools for 3 different timings πβοΈ π±
https://t.me/code_alphix/3757?single
https://t.me/code_alphix/3766
https://t.me/code_alphix/3791?single
#Hiring_Vision #Remote access
Please open Telegram to view this post
VIEW IN TELEGRAM
-@mrtrueliving_ix
-@mrtrueliving_ix
-@mrtrueliving_ix
All OA help { ON campus or Off campus}
Please open Telegram to view this post
VIEW IN TELEGRAM
Accenture 11 am slot{ On campus}βΆοΈ
90-90 MCQ β π§βπ»
2-2 coding -Pythonβ π§βπ»
Using remote access β€οΈ
Mission accomplished π¨βπ»π«π
#Team_AlphaβΎοΈ
-@mrtrueliving_ixβΆοΈ
-@mrtrueliving_ixβΆοΈ
#Accenture #PADA #ONCampus #shortlisted
90-90 MCQ β π§βπ»
2-2 coding -Pythonβ π§βπ»
Using remote access β€οΈ
Mission accomplished π¨βπ»π«π
#Team_AlphaβΎοΈ
-@mrtrueliving_ix
-@mrtrueliving_ix
#Accenture #PADA #ONCampus #shortlisted
Please open Telegram to view this post
VIEW IN TELEGRAM
All OA help { ON campus or Off campus}
DM -@mrtrueliving_ix
DM -@mrtrueliving_ix
Please open Telegram to view this post
VIEW IN TELEGRAM
MAQ Hiring for Developer role
Exp : 0 year
Apply Link : https://forms.office.com/r/eaWWtnuMx7
Join Telegram : https://t.me/code_alphix
Exp : 0 year
Apply Link : https://forms.office.com/r/eaWWtnuMx7
Join Telegram : https://t.me/code_alphix
β€1
#include <iostream>
#include <vector>
using namespace std;
const int MOD = 1e9 + 7;
class SegmentTree {
int n;
vector<long long> t;
bool isSum;
public:
SegmentTree(const vector<int>& v, bool sum) : n(v.size()), isSum(sum) {
t.resize(2 * n, sum ? 0 : 1);
for (int i = 0; i < n; ++i) {
t[i + n] = v[i];
}
for (int i = n - 1; i > 0; --i) {
t[i] = isSum ? (t[2 * i] + t[2 * i + 1]) % MOD : (t[2 * i] * t[2 * i + 1]) % MOD;
}
}
long long query(int l, int r) {
long long res = isSum ? 0 : 1;
l += n;
r += n;
while (l < r) {
if (l & 1) {
res = isSum ? (res + t[l]) % MOD : (res * t[l]) % MOD;
++l;
}
if (r & 1) {
--r;
res = isSum ? (res + t[r]) % MOD : (res * t[r]) % MOD;
}
l /= 2;
r /= 2;
}
return res;
}
};
vector<long long> HardQueries(int n, const vector<int>& v, int q, const vector<vector<int>>& queries) {
vector<long long> ans;
SegmentTree sumTree(v, true);
SegmentTree prodTree(v, false);
for (const auto& x : queries) {
int type = x[0], a = x[1] - 1, b = x[2];
vector<int> indices;
for (int i = a; i < n; i += b) {
indices.push_back(i);
}
if (type == 0) {
long long res = 0;
for (int idx : indices) {
res = (res + sumTree.query(idx, idx + 1)) % MOD;
}
ans.push_back(res);
} else if (type == 1) {
long long res = 1;
for (int idx : indices) {
res = (res * prodTree.query(idx, idx + 1)) % MOD;
}
ans.push_back(res);
}
}
return ans;
}
Queries and fruits // OYO
Please open Telegram to view this post
VIEW IN TELEGRAM