๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.65K 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
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
import collections

def bioHazard(n, allergic, poisonous):
    d = collections.defaultdict(lambda: -1)
   
    for a, b in zip(allergic, poisonous):
        a, b = sorted([a, b])
        d[b] = max(d[b], a)

    for i in range(1, n + 1):
        d[i] = max(d[i], d[i - 1])

    res = 0
    for i in range(1, n + 1):
        if d[i] == -1:
            res += i
        else:
            res += i - d[i]
   
    return res

Biological Hazards โœ…
MSCI
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
import java.util.ArrayList;
import java.util.List;

public class Main {

    static class TreeNode {
        int value;
        List<TreeNode> children;

        TreeNode(int value) {
            this.value = value;
            this.children = new ArrayList<>();
        }
    }

    public static int calculateMax(int networkNodes, int[] networkFrom, int[] networkTo, int[] frequency) {
        List<List<Integer>> con = new ArrayList<>();
        for (int i = 0; i < networkNodes; i++) {
            con.add(new ArrayList<>());
        }

        for (int i = 0; i + 1 < networkNodes; ++i) {
            con.get(networkFrom[i] - 1).add(networkTo[i] - 1);
            con.get(networkTo[i] - 1).add(networkFrom[i] - 1);
        }

        int[] result = {0};
        dfs(0, -1, con, frequency, result);

        return result[0];
    }

    private static int dfs(int x, int f, List<List<Integer>> con, int[] v, int[] r) {
        int m1 = 0, m2 = 0;
        for (int y : con.get(x)) {
            if (y != f) {
                int m = dfs(y, x, con, v, r) + 1;
                if (Math.abs(v[y] - v[x]) <= 1) {
                    if (m >= m1) {
                        m2 = m1;
                        m1 = m;
                    } else if (m > m2) {
                        m2 = m;
                    }
                }
            }
        }
        r[0] = Math.max(r[0], m1 + m2);
        return m1;
    }

Radio Waves โœ…
eClerx is hiring for a Financial Markets-Analyst-Finance
Analyst at eClerx...

Location - Chandigarh

Eligibility - Freshers as well as Experienced.

Candidates should be comfortable working in all
shifts i.e APAC/EMEA/Night shift.

Interested candidates
Share your CV on

Chinmay.Rode.C@eclerx.com
Exciting Data Analyst Internship at GoMechanic.in

Are you ready to dive into the world of data analysis? GoMechanic is seeking Data Analyst Interns in Gurugram for a 3 Months full-time internship with a stipend of up to 15k. If you have a knack for Tableau, Python, and a passion for analytics, this is your chance to shine!

What You'll Get:
1. Hands-on experience with real projects
2. Flexible working hours
3. Internship certificate
4. Potential for a full-time role based on performance

Requirements:
1. Proficiency in Tableau and Python
2. Strong analytical and problem-solving skills
3. Excellent communication skills

Apply Now: Share your CV

https://www.linkedin.com/posts/lalitdabas228_exciting-data-analyst-internship-atgomechanicin-activity-7210495419452125185-aJfS?utm_source=share&utm_medium=member_ios