7 678
Подписчики
-324 часа
-287 дней
+3030 день
Архив постов
COGNIZANT TECHNICAL & INTERVIEW SLOTS AVILABLE✅
Contact : @MLCODER2
COGNIZANT 4pm communication slots Available✅✅
Contact : @MLCODER2
+5
Cognizant 4pm interview slot done & dusted ✅✅✅
12 java questions on Oops 🥵
2 coding in java ✅
100% clearance ✅✅
Contact:@MLCODER2
CTS exam cleared & GOT an interview mail 🥳🥳✅✅
100% clearance for your exam and interview ✅
Contact:@MLCODER2
CTS exam cleared & GOT an interview mail 🥳🥳✅✅
100% clearance for your exam and interview ✅
Contact:@MLCODER2
CTS exam cleared & GOT an interview mail 🥳🥳✅✅
100% clearance for your exam and interview ✅
Contact:@MLCODER2
CTS exam cleared & GOT an interview mail 🥳🥳✅✅
100% clearance for your exam and interview ✅
Contact:@MLCODER2
CTS exam cleared & GOT an interview mail 🥳🥳✅✅
100% clearance for your exam and interview ✅
Contact:@MLCODER2
import java.util.*;
class Customer {
private int customerId;
private String customerName;
private int numberOfOrders;
public Customer() {}
public Customer(int customerId, String customerName, int numberOfOrders) {
this.customerId = customerId;
this.customerName = customerName;
this.numberOfOrders = numberOfOrders;
}
// Getters
public int getCustomerId() {
return customerId;
}
public String getCustomerName() {
return customerName;
}
public int getNumberOfOrders() {
return numberOfOrders;
}
public void setCustomerId(int customerId) {
this.customerId = customerId;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public void setNumberOfOrders(int numberOfOrders) {
this.numberOfOrders = numberOfOrders;
}
}
public class Main {
public static HashMap<String, String> getCustomerWithOrders(List<Customer> customers) {
HashMap<String, String> result = new HashMap<>();
if (customers == null || customers.isEmpty()) {
return result;
}
Customer maxCustomer = customers.get(0);
for (Customer customer : customers) {
if (customer.getNumberOfOrders() > maxCustomer.getNumberOfOrders()) {
maxCustomer = customer;
}
}
result.put("CustomerID", String.valueOf(maxCustomer.getCustomerId()));
result.put("CustomerName", maxCustomer.getCustomerName());
result.put("CustomerOrders", String.valueOf(maxCustomer.getNumberOfOrders()));
return result;
}
}
customer with maximum orders✅✅
#Genpact
Уже доступно! Исследование Telegram 2025 — ключевые инсайты года 
