English
Open in Telegram

Postdef solve(N, K, Count, A, Q, XY):

1 August 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
def solve(N, K, Count, A, Q, XY): results = [] for x, y in XY: p = A[x - 1] c = 0 for i in range(N): if A[i] > p: c += Count[i] e = (c // K) + 1 z = c + 1 if e <= y <= z + Count[x - 1] - 1: results.append("YES") else: results.append("NO") return results Favourite Candy✅
1.2K ·

Nearby in the feed

DDeloitte | COGNIZANT | IBM | CAPGEMINIdef solve(N,Q,commands): slots=[0]*N for idx in commands: i=idx[0] slots[i-1]^=1 return sum(slots) Memory slot Flip✅DDeloitte | COGNIZANT | IBM | CAPGEMINIdef solve(N, M, grid, K): def is_star(r, c, grid): val = grid[r][c] if val == 0: return False for dr, dc in [(-1,0), (1,0), (0,-1), (0,1)]: nr, nc =
this message
DDeloitte | COGNIZANT | IBM | CAPGEMINIPhotoDDeloitte | COGNIZANT | IBM | CAPGEMINIPhoto
DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte | COGNIZANT | IBM | CAPGEMINI@python_java_Coding · channel · Tech
7 178subscribers406average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count