๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
#include<iostream>
#include<vector>
#include<thread>
#include<mutex>

std::mutex mtx;

void computeSum(const std::vector<int>& nums, int start, int end, int& result) {
    int sum = 0;
    for(int i = start; i < end; i++) {
        sum += nums[i];
    }
    mtx.lock();
    result += sum;
    mtx.unlock();
}

int parallelSum(std::vector<int> nums, int num_threads) {
    int result = 0;
    std::vector<std::thread> threads;
    int n = nums.size();
    int chunk_size = n / num_threads;
    for(int i = 0; i < num_threads; i++) {
        int start = i * chunk_size;
        int end = (i == num_threads - 1) ? n : start + chunk_size;
        threads.push_back(std::thread(computeSum, std::ref(nums), start, end, std::ref(result)));
    }
    for(auto& th : threads) {
        th.join();
    }
    return result;
}

int main() {
    std::vector<int> nums = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
    int num_threads = 4;
    std::cout << "Sum: " << parallelSum(nums, num_threads) << std::endl;
    return 0;
}
๐‚๐จ๐ฆ๐ฉ๐š๐ง๐ฒ ๐๐š๐ฆ๐ž: Goldman Sachs

๐‘๐จ๐ฅ๐ž: Summer Analyst Intern

๐๐š๐ญ๐œ๐ก ๐ž๐ฅ๐ข๐ ๐ข๐›๐ฅ๐ž: 2025 and 2026 grads

๐€๐ฉ๐ฉ๐ฅ๐ฒ: https://goldmansachs.tal.net/vx/lang-en-GB/mobile-0/brand-2/candidate/so/pm/1/pl/1/opp/2-Summer-Analyst-Summer-Associate-Internship-programs/en-GB
Hiring for java interns. ๐Ÿ”ถ
Interested candidates can share resumes at geetanjali@liberintechnologies.com

โ—พ๏ธ Profile- JAVA Developer (Interns)
โ—พ๏ธ Location- Noida (WFO Internship)
โ—พ๏ธ Duration- 6 months
โ—พ๏ธ Qualification- B.Tech/ M.tech/ MCA (No BCA/B.sc/ Ba candidates)
โ—พ๏ธ Skills- JAVA, springboot, hibernate, jsp, servlet, restapi, collections framework, crud operations, mysql,oops concepts, DBMS