ar
Feedback
ACCENTURE | COGNIZANT | IBM | CAPGEMINI

ACCENTURE | COGNIZANT | IBM | CAPGEMINI

الذهاب إلى القناة على Telegram
7 644
المشتركون
-324 ساعات
-337 أيام
+2230 أيام
أرشيف المشاركات
def solve(A, N, M, L, x): B = A[:] op = 0 for i in range(N): if B[i] > x: dec = B[i] - x length = min(L, N - i) for j in range(length): B[i + j] -= dec op += dec if op > M: return False return True def minimize_max_element(A, N, M, L): low = min(A) high = max(A) while low < high: mid = low + (high - low) // 2 if solve(A, N, M, L, mid): high = mid else: low = mid + 1 return low Array and queries ✅ #Google

def collect_max(mat): n = len(mat) if n == 0: return 0 dp = [[[ -1 for _ in range(2)] for _ in range(n)] for _ in range(n)] dp[0][0][1] = 1 if mat[0][0] == 1 else 0 for i in range(n): for j in range(n): if mat[i][j] == -1: continue if i > 0 and dp[i-1][j][1] != -1: dp[i][j][1] = max(dp[i][j][1], dp[i-1][j][1] + (1 if mat[i][j] == 1 else 0)) if j > 0 and dp[i][j-1][1] != -1: dp[i][j][1] = max(dp[i][j][1], dp[i][j-1][1] + (1 if mat[i][j] == 1 else 0)) if dp[n-1][n-1][1] == -1: return 0 dp[n-1][n-1][0] = dp[n-1][n-1][1] for i in range(n-1, -1, -1): for j in range(n-1, -1, -1): if mat[i][j] == -1: continue if i < n-1 and dp[i+1][j][0] != -1: dp[i][j][0] = max(dp[i][j][0], dp[i+1][j][0] + (1 if mat[i][j] == 1 else 0)) if j < n-1 and dp[i][j+1][0] != -1: dp[i][j][0] = max(dp[i][j][0], dp[i][j+1][0] + (1 if mat[i][j] == 1 else 0)) return dp[0][0][0] Airport Limousine ✅ #GamesKraft

import heapq def get_greatest_elements(arr, k): n = len(arr) result = [] min_heap = [] for i in range(n): heapq.heappush(min_heap, arr[i]) if len(min_heap) > k: heapq.heappop(min_heap) if i >= k - 1: result.append(min_heap[0]) return result Get Greatest Elements ✅ #GamesKraft

from collections import defaultdict def getMaxRacers(speed, k):     ans = 0     D = defaultdict(list)     for i, e in enumerate(speed):         D[e].append(i)     for arr in D.values():         l = 0         for r in range(len(arr)):             while r > l and arr[r] - arr[l] - (r - l) > k:                 l += 1             ans = max(ans, r - l + 1)         return ans Max Racers ✅ #GamesKraft

def answer(arr, i, dp): if i >= len(arr): return 0 if dp[i] != -1: return dp[i] include = arr[i] | answer(arr, i + 1, dp) exclude = answer(arr, i + 1, dp) dp[i] = max(include, exclude) return dp[i] def solve(N, arr): dp = [-1] * N return answer(arr, 0, dp) OR Bit ✅ #Seimens

def solve(N, workload): tot = 0 max_tot = 0 for i in workload: if i > 6: tot += 1 else: tot = 0 if tot > max_tot: max_tot = tot return max_tot peak output ✅ #Seimens

Accenture solutions group: https://t.me/cod_solutions

Capgemini done successfully ✅✅✅✅ 100% clearance for any exam ✅ Contact: @mlcoder2
+2
Capgemini done successfully ✅✅✅✅ 100% clearance for any exam ✅ Contact: @mlcoder2

CAPGEMINI ✅
CAPGEMINI ✅

Capgemini Round-1 Cleared ✅
Capgemini Round-1 Cleared ✅

Exams help available 👇👇: Accenture Capgemini HCl Cognizant

Our premium candidate got an offer letter from Accenture 😘🥳🥳
Our premium candidate got an offer letter from Accenture 😘🥳🥳

Process Tree ✅
Process Tree ✅

Attention Guys ! Those people who need help for the Accenture exam should contact me immediately. 100% clearance for any exam ✅✅✅ Contact: @temporaryperson Note : @mlcoder2 is not available for the next few days . REMOTE ACCESS AVAILABLE ✔️✔️

HCL INTERNAL EXAM ✅✅✅✅ contact: @mlcoder2
+1
HCL INTERNAL EXAM ✅✅✅✅ contact: @mlcoder2

HCL INTERNAL EXAM ✅ ✅✅ Stream : Java
+1
HCL INTERNAL EXAM ✅ ✅✅ Stream : Java

HCK INTERNAL EXAM ✅✅✅✅ Stream : Java
+1
HCK INTERNAL EXAM ✅✅✅✅ Stream : Java

HCL INTERNAL EXAM ✅✅✅ Stream : Java
HCL INTERNAL EXAM ✅✅✅ Stream : Java

TechMahindra solutions: https://t.me/cod_solutions

TechMahindra 2nd round ✅✅
+1
TechMahindra 2nd round ✅✅