Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
#include <vector>
#include <unordered_map>
#include <algorithm>
using namespace std;
class Solution {
public:
int cardboards(vector<int>& arr) {
unordered_map<int, int> count;
for (int num : arr) {
count[num]++;
}
int squares = 0;
for (auto& pair : count) {
squares += pair.second / 4;
pair.second %= 4;
}
int rectangles = 0;
int pairs = 0;
for (auto& pair : count) {
pairs += pair.second / 2;
}
rectangles = pairs / 2;
return abs(squares - rectangles);
}
};
Gfg - Maximissing cardboards
❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
All placement help available...
-Bny
-mthree
-Rupeek
-Amazon SDE
-Wipro (all Slots)
-wipro milestone
-Accenture SDE
-Cognizant
-HCl
On || off campus🎉 💻
DM those who need 💯 Test Clearance
@Mrtrueliving_ix|| @Mrtrueliving_ix
-Bny
-mthree
-Rupeek
-Amazon SDE
-Wipro (all Slots)
-wipro milestone
-Accenture SDE
-Cognizant
-HCl
On || off campus
DM those who need 💯 Test Clearance
@Mrtrueliving_ix|| @Mrtrueliving_ix
Please open Telegram to view this post
VIEW IN TELEGRAM
Successfully cleared WiproElite
12 pm || 2/2 slots cleared✅ 🎉
Test accomplished 🪄
DM those who need 💯 Test Clearance
@Mrtrueliving_ix || @Mrtrueliving_ix
Preview proof-1 || Proofs-2.✅
12 pm || 2/2 slots cleared
Test accomplished 🪄
DM those who need 💯 Test Clearance
@Mrtrueliving_ix || @Mrtrueliving_ix
#WiproElite #Round2 #Shortlisted
Preview proof-1 || Proofs-2.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🎉1👌1
Cognizant application for multiple roles
Stay tuned✔️ 💻
https://chat.whatsapp.com/D2OGKtVfaHZ7XcAyzeBXMg
Stay tuned
https://chat.whatsapp.com/D2OGKtVfaHZ7XcAyzeBXMg
Please open Telegram to view this post
VIEW IN TELEGRAM
Successfully cleared WiproElite
3 pm || 2/2 slots cleared✅ 🎉
Test accomplished 🪄
DM those who need 💯 Test Clearance
@Mrtrueliving_ix || @Mrtrueliving_ix
#WiproElite #Round2 #Shortlisted #offcampus
Preview proofs
3 pm || 2/2 slots cleared
Test accomplished 🪄
DM those who need 💯 Test Clearance
@Mrtrueliving_ix || @Mrtrueliving_ix
#WiproElite #Round2 #Shortlisted #offcampus
Preview proofs
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Graduate Virtual Career Fair - Phase 2 - Multiple Roles
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/15c80b8e-1e1f-4ecd-b13c-0839d9d59109
Deadline: 22 Feb 2025
Cognizant is hiring now ❤️
Cognizant Off-Campus hiring for 2024 Engineering graduates for GenC Next, GenC Pro & GenC (Feb-March)
Deadline: 7 March 2025
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/80927bc8-841c-4055-a89d-e207fdb67bd9
Apply asap & check your eligibility
Share with your friends too
Stay tuned
Telegram: https://t.me/code_alphix
Job updates:
https://shorturl.at/zk7DH
All placement help available
DM : https://t.me/mrtrueliving_ix
❤1👌1
import math
def solve(N):
th = (2 * N + 3 - math.sqrt(8 * N + 9)) / 2
return math.ceil(th)
Ribbon || Bny
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🫡1
def solve(n, m, a):
def dfs(t, w):
if t == m:
return True
if t > m:
return False
@Mrtrueliving_ix
for i in range(n):
if i not in w:
d, s1, s2, s3 = a[i]
for s in (s1, s2, s3):
if s <= t:
if dfs(min(m, s + d), w | {i}):
return True
return False
@Mrtrueliving_ix
return "YES" if dfs(0, set()) else "NO"
Holiday || Bny
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
def solve(N, D, P, S):
ants = sorted(zip(P, S))
colonies = 0
slowest_time = float('-inf')
@Mrtrueliving_ix
for pos, speed in reversed(ants):
time_to_reach = (D - pos) / speed
if time_to_reach > slowest_time:
colonies += 1
slowest_time = time_to_reach
@Mrtrueliving_ix
return colonies
Little ants || Bny
❤2
Placement Help available
Those who need 💯 Test Clearance
DM @Mrtrueliving_ix✔️ ✅
Mthree || Morgan Stanley
Bny || IBM
NTT || Rupeek sde
Those who need 💯 Test Clearance
DM @Mrtrueliving_ix
Please open Telegram to view this post
VIEW IN TELEGRAM
Direct assessment ✔️ 🎉
All Batch are allowed
Apply ASAP
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/15c80b8e-1e1f-4ecd-b13c-0839d9d59109
All Batch are allowed
Apply ASAP
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/15c80b8e-1e1f-4ecd-b13c-0839d9d59109
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM