๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.7K 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
void dfs(int node, int parent, const vector<vector<pair<int, int>>>& graph,
         const vector<int>& minActivity, vector<long long>& activity, vector<bool>& vulnerable) {
    activity[node] = 0; // initial activity is 0
    for (const auto& edge : graph[node]) {
        int next_node = edge.first;
        int weight = edge.second;
       
        if (next_node != parent) {
            dfs(next_node, node, graph, minActivity, activity, vulnerable);
            activity[node] += activity[next_node] + weight;
        }
    }
    if (activity[node] > minActivity[node]) {
        vulnerable[node] = true;
    }
}

int getMinServers(int server_nodes, int server_edges, const vector<int>& server_from,
                  const vector<int>& server_to, const vector<int>& server_weight,
                  int minActivity_count, const vector<int>& minActivity) {
    vector<vector<pair<int, int>>> graph(server_nodes + 1);
    for (int i = 0; i < server_edges; ++i) {
        graph[server_from[i]].emplace_back(server_to[i], server_weight[i]);
        graph[server_to[i]].emplace_back(server_from[i], -server_weight[i]);
    }

    vector<long long> activity(server_nodes + 1, 0);
    vector<bool> vulnerable(server_nodes + 1, false);

    dfs(1, -1, graph, minActivity, activity, vulnerable);
    int vulnerableCount = count(vulnerable.begin(), vulnerable.end(), true);
    return vulnerableCount;
}

Cisco โœ…
hiring for freshers!!

Position- Intern Talent Acquisition
Duration: 6 months
Location-Gurgoan
Mode: Work from office
Immediate joiners are preferred
Any graduation or post graduation preferred (Any degree)
Desired:
1.Outstanding verbal and written communication skills.
2. Passionate about recruitment.
3. Good understanding of full cycle of recruitment.
4. Good analytical skills.
5.Good organization skills.
if interested mail your cv to sahil.a@zelusindia.com
Woof! Weโ€™re looking for a MERN stack intern (backend focus: NodeJS) to join us for 3 months starting 15th July.

- prior experience building projects on NodeJS

- Work from office in Gurgaon
- Rs. 10K monthly stipend

If this is you, please reach out to me at garima@sploot.tech
We are #hiring for a JAVA Freshers position.

Location: Noida Work from office

opportunity Job
Description -

1. Should have been trained on Core and Advance JAVA.

2. Should have good knowledge of Spring and Hibernate.

3. Mandatory - Good communication skills and ability to adapt to changes.

4. Flexible with shifts. Please note that face to face is compulsory for all rounds of evaluation.

Interested candidate please send me your resume on pooja.katyal@paynways.com