Cognizant {12.00 pm }
26/09
All MCQs+ gaming are done
Test accomplished ❤️
DM for Test Clearance 💯
DM @mrtrueliving_ix ✅
#Cognizant #Aptitude
All placement help available
26/09
All MCQs+ gaming are done
Test accomplished ❤️
DM for Test Clearance 💯
DM @mrtrueliving_ix ✅
#Cognizant #Aptitude
All placement help available
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
def minNumberOfOperations(A, N):
ts = sum(A)
if ts < N:
return -1
t = ts - N
if t == 0:
return len(A)
ml, l, cs = -1, 0, 0
for r, val in enumerate(A):
cs += val
while cs > t:
cs -= A[l]
l += 1
if cs == t:
ml = max(ml, r - l + 1)
return len(A) - ml if ml != -1 else -1
Codevilla`s// Salesforce
https://t.me/code_alphix?boost
All placement help available👍
CTS.📱 10am
Accenture 🎯.10am
Remote slots are available
DM FOR test Clearance
@mrtrueliving_ix🤕
@mrtrueliving_ix🤕
All placement help available
CTS.
Accenture 🎯.10am
Remote slots are available
DM FOR test Clearance
@mrtrueliving_ix
@mrtrueliving_ix
Please open Telegram to view this post
VIEW IN TELEGRAM
Ready for Cognizant 10 am slot
DM for Codes
@mrtrueliving_ix
@mrtrueliving_ix
Share your question get your Code
#paid help
Pay nd get code✔️ ▶️
DM for Codes
@mrtrueliving_ix
@mrtrueliving_ix
Share your question get your Code
#paid help
Pay nd get code
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
Countsubarrays👍
9/10 passed
class UserMainCode {
public int countSubarrays(int[] input1, int input2) {
if (input2 < 3) {
return 0;
}
int count = 0;
for (int i = 0; i < input2 - 2; i++) {
long sum = (long)input1[i] + input1[i + 2];
if (sum == input1[i + 1]) {
count++;
}
}
return count;
}
}9/10 passed
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍2
COGNIZANT EXAM HELP GROUP
Ready ▶️ ▶️ DM for Codes @mrtrueliving_ix 💯👍
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
Maximum weight 👍
DM @mrtrureliving_ix ✔️
10/10 passed
DM @mrtrureliving_ix ✔️
public int maximumWeight(int input1, int input2, int[] input3) {
int N = input1;
int X = input2;
int[] A = input3;
Arrays.sort(A);
int totalWeight = 0;
int count = 0;
for (int i = 0; i < N; i++) {
if (totalWeight + A[i] <= X) {
totalWeight += A[i];
count++;
} else {
break;
}
}
return count;
}10/10 passed
🔥1
Fruit chart 📣 ✔️
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM