ru
Feedback
ACCENTURE | COGNIZANT | IBM | CAPGEMINI

ACCENTURE | COGNIZANT | IBM | CAPGEMINI

Открыть в Telegram
7 673
Подписчики
-1024 часа
-377 дней
+2430 день
Архив постов
🔤🔤🔠🔤🔤❓🔠 🚩🔤🔠🔠🔤🔠🔡🚩🚩:

COGNIZANT APTITUDE & TECHNICAL SLOTS AVAILABLE✅✅ Contact : @MLCODER2

SELECT product_name FROM products WHERE price <= 5 ORDER BY price DESC, product_name ASC; SQL✅ #zl_technologies

import java.util.*; public class Main { public static long solve(int n, int[] wealth) { int maxWealth = 0; for (int val : wealth) { maxWealth = Math.max(maxWealth, val); } int maxPossibleSum = 2 * maxWealth; Set<Long> uniquePowers= new HashSet<>(); long p = 1; while (p <= maxPossibleSum) { uniquePowers.add(p); p *= 3; } Map<Integer, Integer> freq = new HashMap<>(); for (int w : wealth) { freq.put(w, freq.getOrDefault(w, 0) + 1); } long count = 0; for (int a : freq.keySet()) { for (long x : uniquePowers) { long b = x - a; if (b < 0 || b > Integer.MAX_VALUE) continue; if (freq.containsKey((int)b)) { if (a < b) { count += (long) freq.get(a) * freq.get((int)b); } else if (a == b) { count += (long) freq.get(a) * (freq.get(a) - 1) / 2; } } } } return count; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] wealth = new int[n]; for (int i = 0; i < n; i++) { wealth[i] = sc.nextInt(); } System.out.println(solve(n, wealth)); } } valid pairs✅✅ #zl_technologies

Sorry Guys , I do not accept ibm offline coding slots 😢 for tomorrow ✅ Will be opened in next week surely ✅

Got selected for IBM 🥳🥳✅✅✅ 100% results for any interview and exam ✅ IBM offline coding help👇 https://t.me/python_java_Cod
Got selected for IBM 🥳🥳✅✅✅ 100% results for any interview and exam ✅ IBM offline coding help👇 https://t.me/python_java_Coding/8426 Contact: @MLCODER2

CTS COMMUNICATION✅✅ contact : @MLCODER2
CTS COMMUNICATION✅✅ contact : @MLCODER2

CTS 4PM✅✅✅ Contact : @MLODER2
+4
CTS 4PM✅✅✅ Contact : @MLODER2

CTS 12PM ALL SLOTS✅✅✅ Contact : @MLCODER2
+9
CTS 12PM ALL SLOTS✅✅✅ Contact : @MLCODER2

CTS 9Am All slots✅✅✅ Contact : @MLCODER2
+8
CTS 9Am All slots✅✅✅ Contact : @MLCODER2

CTS SOLUTIONS GROUP: https://t.me/cod_solutions

Wipro 3pm✅✅✅ Contact : @MLCODER2
+3
Wipro 3pm✅✅✅ Contact : @MLCODER2

Wipro exam✅✅ Contact : @MLCODER2
+3
Wipro exam✅✅ Contact : @MLCODER2

Amazon✅✅ Contact : @MLCODER2
+1
Amazon✅✅ Contact : @MLCODER2

Amazon ✅✅ Contact : @MLCODER2
+1
Amazon ✅✅ Contact : @MLCODER2

DESHAW help Available ✅✅ Contact : @MLCODER2

CTS 2PM Aptitude✅✅ Contact : @MLCODER2
+1
CTS 2PM Aptitude✅✅ Contact : @MLCODER2

CTS 2PM APTITUDE✅✅ Contact : @MLCODER2
+1
CTS 2PM APTITUDE✅✅ Contact : @MLCODER2

IBM OFFLINE CODING CLEARED ✅ Contact: @MLCODER2
IBM OFFLINE CODING CLEARED ✅ Contact: @MLCODER2

reOrderedSets✅✅✅ 7/7 PASSED Contact: @MLCODER2