uz
Feedback
ACCENTURE | COGNIZANT | IBM | CAPGEMINI

ACCENTURE | COGNIZANT | IBM | CAPGEMINI

Kanalga Telegram’da o‘tish
7 508
Obunachilar
-124 soatlar
-187 kunlar
-13630 kunlar

Ma'lumot yuklanmoqda...

Obunachilarni jalb qilish
Iyul '26
Iyul '26
+14
0 kanalda
Iyun '26
+90
0 kanalda
Get PRO
May '26
+97
0 kanalda
Get PRO
Aprel '26
+16
0 kanalda
Get PRO
Mart '26
+7
0 kanalda
Get PRO
Fevral '26
+19
0 kanalda
Get PRO
Yanvar '26
+54
0 kanalda
Get PRO
Dekabr '25
+84
0 kanalda
Get PRO
Noyabr '25
+57
0 kanalda
Get PRO
Oktabr '25
+216
0 kanalda
Get PRO
Sentabr '25
+404
0 kanalda
Get PRO
Avgust '25
+117
0 kanalda
Get PRO
Iyul '25
+558
0 kanalda
Get PRO
Iyun '25
+423
0 kanalda
Get PRO
May '25
+66
0 kanalda
Get PRO
Aprel '25
+30
0 kanalda
Get PRO
Mart '25
+118
0 kanalda
Get PRO
Fevral '25
+188
0 kanalda
Get PRO
Yanvar '25
+162
0 kanalda
Get PRO
Dekabr '24
+285
0 kanalda
Get PRO
Noyabr '24
+40
0 kanalda
Get PRO
Oktabr '24
+73
0 kanalda
Get PRO
Sentabr '24
+457
0 kanalda
Get PRO
Avgust '24
+468
0 kanalda
Get PRO
Iyul '24
+422
0 kanalda
Get PRO
Iyun '24
+111
0 kanalda
Get PRO
May '24
+163
0 kanalda
Get PRO
Aprel '24
+73
0 kanalda
Get PRO
Mart '24
+50
0 kanalda
Get PRO
Fevral '24
+375
0 kanalda
Get PRO
Yanvar '24
+207
0 kanalda
Get PRO
Dekabr '23
+465
0 kanalda
Get PRO
Noyabr '23
+256
0 kanalda
Get PRO
Oktabr '23
+219
0 kanalda
Get PRO
Sentabr '23
+105
0 kanalda
Get PRO
Avgust '23
+650
0 kanalda
Get PRO
Iyul '23
+480
0 kanalda
Get PRO
Iyun '23
+168
0 kanalda
Get PRO
May '23
+34
0 kanalda
Get PRO
Aprel '23
+470
0 kanalda
Get PRO
Mart '23
+72
0 kanalda
Get PRO
Fevral '23
+552
0 kanalda
Get PRO
Yanvar '23
+149
0 kanalda
Get PRO
Dekabr '22
+123
0 kanalda
Get PRO
Noyabr '22
+156
0 kanalda
Get PRO
Oktabr '22
+206
0 kanalda
Get PRO
Sentabr '22
+431
0 kanalda
Get PRO
Avgust '22
+1 046
0 kanalda
Get PRO
Iyul '22
+362
0 kanalda
Get PRO
Iyun '22
+798
0 kanalda
Get PRO
May '22
+342
0 kanalda
Get PRO
Aprel '22
+313
0 kanalda
Get PRO
Mart '22
+1 991
0 kanalda
Sana
Obunachilarni jalb qilish
Esdaliklar
Kanallar
21 Iyul0
20 Iyul+2
19 Iyul0
18 Iyul0
17 Iyul0
16 Iyul+1
15 Iyul+1
14 Iyul+1
13 Iyul0
12 Iyul+3
11 Iyul0
10 Iyul0
09 Iyul0
08 Iyul+2
07 Iyul0
06 Iyul+1
05 Iyul0
04 Iyul0
03 Iyul+1
02 Iyul+2
01 Iyul0
Kanal postlari
HCL ON-CAMPUS EXAM✅ Contact : @MLCODER2
+1
HCL ON-CAMPUS EXAM✅ Contact : @MLCODER2

2
import java.io.*; import java.util.*; public class TestClass { public static void droneservicesschedule(int[][] arr, int M, int N) { List<List<Integer>> adj = new ArrayList<>(); for (int i = 0; i <= N; i++) { adj.add(new ArrayList<>()); } int[] degree = new int[N + 1]; for (int i = 0; i < M; i++) { int u = arr[i][0]; int v = arr[i][1]; adj.get(u).add(v); adj.get(v).add(u); degree[u]++; degree[v]++; } boolean[] visited = new boolean[N + 1]; List<List<Integer>> components = new ArrayList<>(); for (int i = 1; i <= N; i++) { if (!visited[i]) { List<Integer> comp = new ArrayList<>(); Queue<Integer> queue = new LinkedList<>(); queue.add(i); visited[i] = true; while (!queue.isEmpty()) { int curr = queue.poll(); comp.add(curr); for (int neighbor : adj.get(curr)) { if (!visited[neighbor]) { visited[neighbor] = true; queue.add(neighbor); } } } components.add(comp); } } if (components.size() > 2) { System.out.println("Not a Complete Day"); return; } for (List<Integer> comp : components) { int K = comp.size(); for (int vertex : comp) { if (degree[vertex] != K - 1) { System.out.println("Not a Complete Day"); return; } } } System.out.println("Complete Day"); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); if (!sc.hasNextInt()) return; int T = sc.nextInt(); for (int j = 0; j < T; j++) { int N = sc.nextInt(); int M = sc.nextInt(); int[][] arr = new int[M][2]; for (int i = 0; i < M; ++i) { arr[i][0] = sc.nextInt(); arr[i][1] = sc.nextInt(); } droneservicesschedule(arr, M, N); } } }
232
3
import java.io.*; import java.util.*; public class TestClass { static int[] dr = {-1, 1, 0, 0}; static int[] dc = {0, 0, -1, 1}; static int minNumOfwalls(int[][] a, int m, int n) { int totalWalls = 0; while (true) { boolean[][] visited = new boolean[m][n]; List<Set<Integer>> regions = new ArrayList<>(); List<Set<Integer>> frontiers = new ArrayList<>(); List<Integer> wallsNeeded = new ArrayList<>(); for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { if (a[i][j] == 1 && !visited[i][j]) { Set<Integer> region = new HashSet<>(); Set<Integer> frontier = new HashSet<>(); int[] walls = new int[1]; dfs(i, j, a, m, n, visited, region, frontier, walls); regions.add(region); frontiers.add(frontier); wallsNeeded.add(walls[0]); } } } if (regions.isEmpty()) { break; } int maxFrontierIdx = -1; int maxFrontierSize = -1; for (int i = 0; i < frontiers.size(); i++) { if (frontiers.get(i).size() > maxFrontierSize) { maxFrontierSize = frontiers.get(i).size(); maxFrontierIdx = i; } } if (maxFrontierSize == 0) { break; } totalWalls += wallsNeeded.get(maxFrontierIdx); for (int i = 0; i < regions.size(); i++) { if (i == maxFrontierIdx) { for (int code : regions.get(i)) { int r = code / n; int c = code % n; a[r][c] = -1; } } else { for (int code : frontiers.get(i)) { int r = code / n; int c = code % n; a[r][c] = 1; } } } } return totalWalls; } static void dfs(int r, int c, int[][] a, int m, int n, boolean[][] visited, Set<Integer> region, Set<Integer> frontier, int[] walls) { visited[r][c] = true; region.add(r * n + c); for (int i = 0; i < 4; i++) { int nr = r + dr[i]; int nc = c + dc[i]; if (nr >= 0 && nr < m && nc >= 0 && nc < n) { if (a[nr][nc] == 1 && !visited[nr][nc]) { dfs(nr, nc, a, m, n, visited, region, frontier, walls); } else if (a[nr][nc] == 0) { walls[0]++; frontier.add(nr * n + nc); } } } } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); int n = sc.nextInt(); int[][] a = new int[m][n]; for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { a[i][j] = sc.nextInt(); } } System.out.print(minNumOfwalls(a, m, n)); } } FLIPKART ✅ q4
181
4
Matn yo'q...
141
5
Matn yo'q...
142
6
Flipkart 2pm slots available ✅️ Contact : @MLCODER2
18
7
import java.util.Scanner; public class TestClass { static int countOccurrence(int n, String grid[], String word) { int count = 0; int wordLen = word.length(); int[] dx = {-1, -1, -1, 0, 0, 1, 1, 1}; int[] dy = {-1, 0, 1, -1, 1, -1, 0, 1}; for (int r = 0; r < n; r++) { for (int c = 0; c < n; c++) { for (int dir = 0; dir < 8; dir++) { int k; int currR = r; int currC = c; for (k = 0; k < wordLen; k++) { if (currR < 0 currR >= n currC < 0 || currC >= n) { break; } if (grid[currR].charAt(currC) != word.charAt(k)) { break; } currR += dx[dir]; currC += dy[dir]; } if (k == wordLen) { count++; } } } } return count; } public static void main(String args[]) { int n; Scanner sc = new Scanner(System.in); n = sc.nextInt(); sc.nextLine(); String grid[] = new String[n]; for(int i=0; i<n; i++) { grid[i] = sc.nextLine(); } String word; word = sc.nextLine(); System.out.println(countOccurrence(n,grid,word)); } } FLIPKART✅ q4✅
196
8
import java.util.*; public class TestClass { public static int cureTheVirus(int n, int[] impact, int[] numOfPre, int[][] precells) { int source = 0; int sink = n + 1; List<Edge>[] graph = new List[sink + 1]; for (int i = 0; i <= sink; i++) { graph[i] = new ArrayList<>(); } int totalPositiveImpact = 0; for (int i = 0; i < n; i++) { int w = impact[i]; int u = i + 1; if (w > 0) { totalPositiveImpact += w; addEdge(graph, source, u, w); } else if (w < 0) { addEdge(graph, u, sink, -w); } for (int k = 0; k < numOfPre[i]; k++) { int v = precells[i][k]; addEdge(graph, u, v, Integer.MAX_VALUE); } } int minCut = dinicMaxFlow(graph, source, sink); return totalPositiveImpact - minCut; } private static class Edge { int to; int rev; int cap; int flow; Edge(int to, int rev, int cap) { this.to = to; this.rev = rev; this.cap = cap; this.flow = 0; } } private static void addEdge(List<Edge>[] graph, int from, int to, int cap) { Edge a = new Edge(to, graph[to].size(), cap); Edge b = new Edge(from, graph[from].size(), 0); graph[from].add(a); graph[to].add(b); } private static int dinicMaxFlow(List<Edge>[] graph, int src, int dest) { int flow = 0; int[] level = new int[graph.length]; while (bfs(graph, src, dest, level)) { int[] ptr = new int[graph.length]; while (true) { int pushed = dfs(graph, src, dest, Integer.MAX_VALUE, level, ptr); if (pushed == 0) { break; } flow += pushed; } } return flow; } private static boolean bfs(List<Edge>[] graph, int src, int dest, int[] level) { Arrays.fill(level, -1); level[src] = 0; Queue<Integer> q = new LinkedList<>(); q.add(src); while (!q.isEmpty()) { int v = q.poll(); for (Edge e : graph[v]) { if (level[e.to] < 0 && e.flow < e.cap) { level[e.to] = level[v] + 1; q.add(e.to); } } } return level[dest] >= 0; } private static int dfs(List<Edge>[] graph, int v, int dest, int pushed, int[] level, int[] ptr) { if (pushed == 0 v == dest) { return pushed; } for (int cid = ptr[v]; ptr[v] < graph[v].size(); cid = ++ptr[v]) { Edge e = graph[v].get(cid); int tr = e.to; if (level[v] + 1 != level[tr] e.flow == e.cap) { continue; } int trPushed = dfs(graph, tr, dest, Math.min(pushed, e.cap - e.flow), level, ptr); if (trPushed == 0) { continue; } e.flow += trPushed; graph[tr].get(e.rev).flow -= trPushed; return trPushed; } return 0; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int numberOfCells = sc.nextInt(); int[] impact = new int[numberOfCells]; int[] numOfPre = new int[numberOfCells]; int[][] precells = new int[numberOfCells][]; for (int j = 0; j < numberOfCells; j++) { impact[j] = sc.nextInt(); numOfPre[j] = sc.nextInt(); precells[j] = new int[numOfPre[j]]; for (int k = 0; k < numOfPre[j]; k++) { precells[j][k] = sc.nextInt(); } } System.out.println(cureTheVirus(numberOfCells, impact, numOfPre, precells)); sc.close(); } } FLIPKART✅ Q3
164
9
WITH connection_usage AS ( SELECT connection_ref, COALESCE(SUM(internet_mb), 0) / 1024.0 AS connection_internet_gb FROM daily_service_consumption WHERE consumption_date >= '2024-02-01' AND consumption_date < '2024-03-01' GROUP BY connection_ref ), bill_details AS ( SELECT b.bill_ref, b.connection_ref, b.payable_amount, LEAST(b.payable_amount, COALESCE(SUM(CASE WHEN t.transaction_state = 'SUCCESS' THEN t.transaction_amount ELSE 0 END), 0)) AS bill_collected_amount FROM monthly_service_bills b LEFT JOIN bill_transactions t ON b.bill_ref = t.bill_ref WHERE b.cycle_month = '2024-02-01' AND b.bill_state != 'CANCELLED' GROUP BY b.bill_ref, b.connection_ref, b.payable_amount ), connection_bills AS ( SELECT connection_ref, SUM(payable_amount) AS total_conn_bill_amount, SUM(bill_collected_amount) AS total_conn_collected_amount FROM bill_details GROUP BY connection_ref ) SELECT p.package_ref, p.package_label, COUNT(DISTINCT mc.connection_ref) AS active_connection_count, ROUND(SUM(COALESCE(cu.connection_internet_gb, 0)), 2) AS total_internet_gb, ROUND(SUM(cb.total_conn_bill_amount), 2) AS total_bill_amount, ROUND(SUM(cb.total_conn_collected_amount), 2) AS total_collected_amount, ROUND(SUM(cb.total_conn_bill_amount) - SUM(cb.total_conn_collected_amount), 2) AS pending_amount, ROUND( CASE WHEN SUM(cb.total_conn_bill_amount) = 0 THEN 0.00 ELSE (SUM(cb.total_conn_collected_amount) / SUM(cb.total_conn_bill_amount)) * 100 END, 2 ) AS collection_precentage FROM service_packages p INNER JOIN mobile_connections mc ON p.package_ref = mc.package_ref INNER JOIN connection_bills cb ON mc.connection_ref = cb.connection_ref LEFT JOIN connection_usage cu ON mc.connection_ref = cu.connection_ref WHERE mc.connection_state = 'ACTIVE' AND p.package_enabled = 1 GROUP BY p.package_ref, p.package_label ORDER BY collection_precentage DESC, p.package_label ASC; FLIPKART✅ SQL✅
142
10
if score >= 10: risk_level = "HIGH" elif score >= 6: risk_level = "MEDIUM" else: risk_level = "LOW" if risk_level in ("HIGH", "MEDIUM"): output_regions.append({ "name": region_name, "risk_level": risk_level, "score": score, "active_deployments": active_deployments, "input_index": input_index }) if not output_regions: print("NA") return output_regions.sort(key=lambda x: ( 0 if x["risk_level"] == "HIGH" else 1, -x["score"], x["active_deployments"], x["input_index"] )) formatted_strings = [ f"{r['name']}-{r['risk_level']}-{r['score']}-{r['active_deployments']}" for r in output_regions ] print("#".join(formatted_strings)) FLIPART✅ DATAFRAME✅
146
11
def process_usage_logs(usage_records, reference_day, region_details, profiles, region_stats): for record in usage_records: usage_id, region_id, usage_day, cpu_usage, memory_usage = record usage_day = int(usage_day) cpu_usage = int(cpu_usage) memory_usage = int(memory_usage) if region_id not in region_details: continue if not (1 <= usage_day <= reference_day): continue if cpu_usage < 0 or memory_usage < 0: continue region_type = region_details[region_id][1] max_cpu, max_mem = profiles[region_type] stats = region_stats[region_id] stats["valid_usage_count"] += 1 stats["cpu_sum"] += cpu_usage stats["memory_sum"] += memory_usage if cpu_usage > max_cpu: stats["cpu_breach_count"] += 1 if memory_usage > max_mem: stats["memory_breach_count"] += 1 def process_deployments(deployment_records, reference_day, region_details, region_stats): for record in deployment_records: deployment_id, region_id, deployment_day, deployment_status = record deployment_day = int(deployment_day) if region_id not in region_details: continue if deployment_status not in VALID_DEPLOYMENT_STATUSES: continue if not (1 <= deployment_day <= reference_day): continue if deployment_status == "ACTIVE": region_stats[region_id]["active_deployment_count"] += 1 def process_incident_reports(incident_records, reference_day, region_details, region_stats): for record in incident_records: incident_id, region_id, incident_day, severity = record incident_day = int(incident_day) if region_id not in region_details: continue if severity not in VALID_INCIDENT_SEVERITIES: continue if not (1 <= incident_day <= reference_day): continue if severity == "HIGH": region_stats[region_id]["high_severity_incident_count"] += 1 def calculate_type_average_cpu(profiles, type_cpu_sum, type_usage_count): type_average_cpu = {} for region_type in profiles: count = type_usage_count.get(region_type, 0) if count == 0: type_average_cpu[region_type] = 0 else: type_average_cpu[region_type] = type_cpu_sum.get(region_type, 0) // count return type_average_cpu def calculate_region_risk(stats, max_memory_usage, type_average_cpu): pass def build_output(regions, profiles, region_stats, type_average_cpu): output_regions = [] for region_id, region_name, region_type, input_index in regions: stats = region_stats[region_id] max_cpu, max_mem = profiles[region_type] valid_count = stats["valid_usage_count"] if valid_count == 0: avg_cpu = 0 avg_mem = 0 else: avg_cpu = stats["cpu_sum"] // valid_count avg_mem = stats["memory_sum"] // valid_count active_deployments = stats["active_deployment_count"] cpu_breaches = stats["cpu_breach_count"] mem_breaches = stats["memory_breach_count"] high_incidents = stats["high_severity_incident_count"] type_avg_cpu = type_average_cpu.get(region_type, 0) is_above_cpu_baseline = (valid_count > 0 and avg_cpu > type_avg_cpu) score = 0 if active_deployments < 2: score += 4 if active_deployments == 0: score += 3 if cpu_breaches >= 2: score += 3 if mem_breaches >= 2: score += 3 if high_incidents >= 1: score += 3 if is_above_cpu_baseline: score += 2 if valid_count > 0 and avg_mem > max_mem: score += 2
199
12
FLIPKART 10AM SLOTS AVILABLE✅ Contact : @MLCODER2
104
13
FLIPKART 6PM✅ Contact : @MLCODER2+3
FLIPKART 6PM✅ Contact : @MLCODER2
268
14
FLIPKART GIRD 6PM SLOTS AVAILABLE✅ Contact : @MLCODER2
218
15
FLIPKAR GIRD 8.0 SLOTS AVAILABLE✅ Contact : @MLCODER2
160
16
QUANTIPHI ROUND-2 VIBE CODING✅✅ ROUND-1 CLEARED✅ Contact : @MLCODER2+1
QUANTIPHI ROUND-2 VIBE CODING✅✅ ROUND-1 CLEARED✅ Contact : @MLCODER2
525
17
QUANTIPHI ROUND-1 INTERVIEW ✅✅ Contact : @MLCODER2
QUANTIPHI ROUND-1 INTERVIEW ✅✅ Contact : @MLCODER2
488
18
QUANTIPHI ALL SLOTS✅✅ Contact : @MLCODER+6
QUANTIPHI ALL SLOTS✅✅ Contact : @MLCODER
577
19
LBJ PHASE-1 EXAM✅ Contact : @MLCODER2+3
LBJ PHASE-1 EXAM✅ Contact : @MLCODER2
818
20
IBM✅ Contact : @MLCODER2+1
IBM✅ Contact : @MLCODER2
777