๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.Scanner;
import java.util.TreeMap;

public class SortBasedOnKey {

public static String Order(HashMap<Integer, String> map) {
TreeMap<Integer, String> m = new TreeMap<Integer, String>(map);
String ans = "";
for(Entry<Integer, String> str : m.entrySet()) {
ans+=str.getValue()+" ";
}
return ans.strip();
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
HashMap<Integer, String> map = new HashMap<Integer, String>();
int n = sc.nextInt();
sc.nextLine();
for(int i=0; i<n; i++) {
map.put(Integer.parseInt(sc.nextLine()),sc.nextLine());
}
System.out.println(Order(map));

}
๐Ÿ‘1
import java.util.ArrayList;
import java.util.Scanner;

public class NsmallestFactor {
public static int getSolution(int r, int b ) {
ArrayList<Integer> list = new ArrayList<Integer>();
for(int i=1; i<=r; i++) {
if(r%i==0) list.add(i);
}
return list.indexOf(b+1);
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int R = sc.nextInt();
int B = sc.nextInt();
System.out.println(getSolution(R,B));
}
}
๐Ÿ“ŒWIPRO INTERVIEW EXPERIENCE
CSE branch

1.No intro
2.Any backlog
3.Any Gap
4.Tell me breif about you and you comm skills
5.You have done course in AI so what have you learnt from that?
6.What will you do if the team member is not in coordination with you.
7.What shows you that you have leadership skill give me two example.
*he started checking my coding question that I have done in wipro test*
8.He said you have compiled both the code I said yes.
9.Then he said ok do you have any questions