allcoding1_official
106K subscribers
766 photos
2 videos
73 files
759 links
Download Telegram
allcoding1_official
Photo
import java.util.*;

public class Maib {

    private static int reverseNumber(int num) {
        int reversed = 0;
        while (num != 0) {
            reversed = reversed * 10 + num % 10;
            num /= 10;
        }
        return reversed;
    }

    private static int largestPossibleNumber(int num) {
        char[] digits = String.valueOf(num).toCharArray();
        Arrays.sort(digits);
        StringBuilder largestNumStr = new StringBuilder(new String(digits)).reverse();
        return Integer.parseInt(largestNumStr.toString());
    }

    private static List<Integer> splitIntoDigits(int num) {
        List<Integer> digits = new ArrayList<>();
        while (num != 0) {
            digits.add(num % 10);
            num /= 10;
        }
        Collections.reverse(digits);
        return digits;
    }

    public static String processAndEncodeArray(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            arr[i] = reverseNumber(arr[i]);
        }
       
        for (int i = 0; i < arr.length; i++) {
            arr[i] = largestPossibleNumber(arr[i]);
        }
       
        List<Integer> allDigits = new ArrayList<>();
        for (int num : arr) {
            allDigits.addAll(splitIntoDigits(num));
        }
       
        Set<Integer> uniqueDigits = new LinkedHashSet<>(allDigits);
        List<Integer> uniqueDigitList = new ArrayList<>(uniqueDigits);
       
        // Step 5: Generate the encoded string
        StringBuilder encodedString = new StringBuilder();
        for (int digit : uniqueDigitList) {
            if (digit == 0) {
                encodedString.append('$');
            } else if (digit % 2 == 0) {
                encodedString.append('*');
            } else {
                encodedString.append('#');
            }
        }
       
        return encodedString.toString();
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int n = scanner.nextInt();
        int[] arr = new int[n];
        for (int i = 0; i < n; i++) {
            arr[i] = scanner.nextInt();
        }

       String result = processAndEncodeArray(arr);

        System.out.println(result);
    }
}
👍7
Good sequence python
👍1
Palindrome
5👍2
Ciena is hiring for Software Engineering DevOps New Grad

Expected Salary : 10-20 LPA

Batch : 2024/2023 passouts eligible

Apply here :
https://careers.ciena.com/us/en/job/CIENUSR025123ENUS/Software-Engineering-DevOps-New-Grad

Telegram:- @allcoding1_official
👍41
🎯Tech Mahindra link open for 2024 Batch

Immediately apply before it closed


Apply Now:-
https://registration.techmahindra.com/Candidate/Instructions.aspx
👍1
🎯Shell is hiring for Interns

2025 batch eligible

Location : Bangalore/Gurgaon

Apply:-
https://jobs.shell.com/job/bengaluru/shell-assessed-internship-programme-2025-india/25244/67560377344
👍2
🎯Accenture
Job role:- Associate Software Engineer (ASE)
Experience: 0 Month - 11 Month(s)
Salary: INR 4,60,700 -
Job Type: Full Time
Location: Bangalore, Hyderabad, Pune, Mumbai, Chennai, Gurugram, Kolkata, Indore, Jaipur, Coimbatore, Ahmedabad, Bhubaneswar

Apply Now:- https://indiacampus.accenture.com/myzone/accenture/1/jobs/25377/job-details

Telegram:- @allcoding1_official
👍52
Meesho | SDE l - Android | 17 - 21 LPA ( expected ) | 1+ year experience | Bangalore

Link : https://meesho.io/jobs/android-developer---i?id=f35e1cae-5847-4b92-bd76-c0474197724f
👍4
🎯Cognizant PWD off-campus hiring | Registrations open for 2023 & 2024 graduates
Greetings from Cognizant

At Cognizant, we believe in hiring and partnering with the best to engineer excellence for leading businesses around the world. We are pleased to announce that our PwD (Persons with Disabilities) off-campus hiring is live.

This opportunity is open for any B.E / B.Tech / M.E / M. Tech/ MCA/ MSc (IT/CS) or MS Software engineering (streams such as Leather, Food, Fashion, etc.. are excluded) students from 2023, 2024 batch with a proof of disability certificate.

We are happy to share the registration link for candidates interested to work in Cognizant and accelerate their careers. Registration link present in the attached mail. Kindly circulate it to interested candidates for them to apply.

Apply Now:- https://app.joinsuperset.com/company/cognizant/
👍10
🎯Infor is hiring for Quality Analyst, Associate

0 - 1 year experience

https://careers.infor.com/en_US/careers/JobDetail/Quality-Assurance-Analyst-Associate/14544#
👍1
Bajaj Finserve is hiring for Software Engineer role

2 - 3 year experience is required

https://bflcareers.peoplestrong.com/portal/job/detail/JR00150141
👍1
Accenture is hiring for Experienced Professionals

Application Developer Role

2+ year experience is required

Upto 10 LPA ( expected )

https://www.accenture.com/in-en/careers/jobdetails?src=LINKEDINJP&id=ATCI-4328054-S1677439_en
👍3
Kyndryl is hiring for Application Developer

Bangalore

Partically Remote

Apply Fast , this job is posted today !

https://kyndryl.wd5.myworkdayjobs.com/KyndrylProfessionalCareers/job/Bangalore-Karnataka-India/Application-Developer_R-19516-1?source=REC_APPLICANT_SOURCE_LinkedIn
👍1
De Shaw hiring Software Engineer

30 LPA
2024 batch


Apply Now:-
https://www.deshawindia.com/careers/associate-qae-qte-fte-off-campus-2024-grads-5482
❤‍🔥4👍3
SentinelOne is hiring SDE l

2022, 2021 passouts eligibile

remote Opportunity

https://www.sentinelone.com/jobs/6055858003?gh_jid=6055858003&gh_src=c61082833us