๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.55K photos
3 videos
95 files
9.64K 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
public static List<Integer> findDistinctDuplicates(int N, int[] arr) {
        HashSet<Integer> seen = new HashSet<>();
        HashSet<Integer> duplicates = new HashSet<>();
        
        for (int num : arr) {
            if (!seen.add(num)) {  
                duplicates.add(num);
            }
        }

        if (duplicates.isEmpty()) {
            // No duplicates found
            return List.of(-1);
        } else {
            // Convert set to list and sort it
            List<Integer> result = new ArrayList<>(duplicates);
            result.sort(null);
            return result;
        }
    }

Array of Duplicate Elements โœ…
def is_prime(num):
    if num < 2:
        return False
    for i in range(2, int(num**0.5) + 1):
        if num % i == 0:
            return False
    return True

def nth_prime_number(n):
    count = 0
    candidate = 1

    while count < n:
        candidate += 1
        if is_prime(candidate):
            count += 1

    return candidate

Prime Numbers โœ…
Accenture is Hiring for a premium process

#walkindrive at Gurgaon for fresher

Hiring Criteria:

Exp - 0 -1yrs
Shift - 24x7 with 5days working
Qualification - Graduates/Post Graduates (Non-tech)

Date - 18-Dec at 11AM
Venue - Accenture DDC5, Building No.7, Candor Tech Space, Kapashera-samalkha road, Sector-21, Gurugram

Contact :  harjit.a.kaur@accenture.com