English
Open in Telegram

Postimport java.util.Set;

2 February 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
import java.util.Set; import java.util.HashSet; import java.util.Scanner; class Solution{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int [] arr=new int[n]; for(int i=0;i<n;i++){ arr[i]=sc.nextInt(); } Set<Integer> set=new HashSet<>(); for(int i=0;i<n;i++){ set.add(arr[i]); } System.out.println(set.size()); } } #subSequence
1K ·

Nearby in the feed

DDeloitte | COGNIZANT | IBM | CAPGEMINIclass Solution{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); String s=sc.nextLine(); System.out.println(s.split(" ").length); }DDeloitte | COGNIZANT | IBM | CAPGEMINIimport java.util.Scanner; class Solution{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int v=sc.nextInt(); int a=sc.nextInt(); in
this message
DDeloitte | COGNIZANT | IBM | CAPGEMINIAmazon Exam✅✅✅✅ Contact: @MLCODER2DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte exam got cleared ✅✅ Contact:@MLCODER2
DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte | COGNIZANT | IBM | CAPGEMINI@python_java_Coding · channel · Tech
7 178subscribers451average 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