๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.59K photos
3 videos
95 files
10.2K 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
๐‰๐ข๐จ ๐ข๐ฌ ๐‡๐ข๐ซ๐ข๐ง๐  ๐Ÿ๐จ๐ซ ๐๐ฒ๐ญ๐ก๐จ๐ง ๐…๐ซ๐ž๐ฌ๐ก๐ž๐ซ ๐˜๐ž๐š๐ซ๐ฌ ๐จ๐Ÿ ๐„๐ฑ๐ฉ๐ž๐ซ๐ข๐ž๐ง๐œ๐ž (๐ฆ๐ข๐ง๐ข๐ฆ๐ฎ๐ฆ & ๐ฆ๐š๐ฑ๐ข๐ฆ๐ฎ๐ฆ): ๐ŸŽ ๐ญ๐จ ๐Ÿ

๐„๐๐ฎ๐œ๐š๐ญ๐ข๐จ๐ง๐š๐ฅ ๐๐ฎ๐š๐ฅ๐ข๐Ÿ๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌ: BE,BTECH/MCA

๐Š๐ง๐จ๐ฐ๐ฅ๐ž๐๐ ๐ž & ๐’๐ค๐ข๐ฅ๐ฅ๐ฌ ๐‘๐ž๐ช๐ฎ๐ข๐ซ๐ž๐: Python, PySpark, Data Structure Data-driven APIs Analytical, debugging and good communication skills Knowledge of SDLC


If you are interested in this opportunity you can share your Updated Resume on this mail id: raj.jadhav@ril.com
๐Ÿ‘2
public int findmaxdistinctitems(int n, int k, Integer[] arr) {
        Set<Integer> set = new HashSet<Integer>(new ArrayList<Integer>(Arrays.asList(arr)));

        int sum = 0;
        int result = arr.length;
        for (int i = 1; i <= n && sum + i <= k; i++) {
            if (!set.contains(i)) {
                sum += i;
                result++;
            }
        }
        return result;
    }


Oracleโœ