๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
vector<int> solve(vector<int>& mem, vector<vector<int>>& queries) {
    map<int, pair<int, int>> alloc;
    int id = 1;
    vector<int> res;
    for (auto& q : queries) {
        if (q[0] == 0) {
            int x = q[1];
            int start = -1;
            int count = 0;
            for (int i = 0; i < mem.size(); ++i) {
                if (mem[i] == 0) {
                    if (start == -1 && i % 8 == 0) {
                        start = i;
                    }
                    if (start != -1) {
                        ++count;
                    }
                    if (count == x) {
                        break;
                    }
                } else {
                    start = -1;
                    count = 0;
                }
            }
            if (count == x) {
                fill(mem.begin() + start, mem.begin() + start + x, 1);
                alloc[start] = {id, x};
                res.push_back(start);
                ++id;
            } else {
                res.push_back(-1);
            }
        } else {
            int eraseId = q[1];
            int length = -1;
            for(auto it = alloc.begin(); it != alloc.end(); ++it) {
                if(it->second.first == eraseId) {
                    fill(mem.begin() + it->first, mem.begin() + it->first + it->second.second, 0);
                    length = it->second.second;
                    alloc.erase(it);
                    break;
                }
            }
            res.push_back(length);
        }
    }
    return res;
}

Tradedsk โœ…
๐ŸšจJOB OPENING UPDATE๐Ÿšจ

Company โ€“ Ventra Health
Role โ€“ Data Engineer
Exp. โ€“ Fresher
Apply Here โ€“ https://www.simplyhired.co.in/job/V8HhCHtEsvSaVb8uRK92wo6nI__mYB2U869-zvpeO6iwUWu6-Ep6JQ


Company โ€“ Craft Worldwide
Role โ€“ Data Management Intern
Exp. โ€“ Fresher
Apply Here โ€“ https://www.linkedin.com/jobs/view/3800237121

Company โ€“ Anaxee Digital Runners
Role โ€“ Data Analyst Intern
Exp. โ€“ 0-1 yr
Apply Here โ€“ https://anaxee.com/career/?jobId=rDMbJETiWoQ-

Company โ€“ Micron
Role โ€“ Intern, Data Science
Exp. โ€“ Fresher
Apply Here โ€“ https://careers.micron.com/careers/job/19706629?domain=micron.com&utm_source=indeed

Company โ€“ LM Wind Power
Role โ€“ Data Analyst - Intern
Exp. โ€“ Fresher
Apply Here โ€“ https://www.simplyhired.co.in/job/785HSJFZYlRZeH1g7ryCsDjIA8oYO6I9mxkRjxFuMQAUM9YFTuUXjw

Company โ€“ Pfizer
Role โ€“Data Science Intern
Exp. โ€“ Fresher
Apply Here โ€“ https://www.simplyhired.co.in/job/70yOordrKe-Q3_MOZ8s-2lCs4smIaRlW9ziag8DX1DMCZs5l0ylB7A


Company โ€“ InfoEdge
Role โ€“ Data Scientist
Exp. โ€“ 0-6 Yrs
Apply Here โ€“ https://www.hirist.com/j/infoedge-data-scientist-machine-learning-0-6-yrs-1284512.html?ref=sp_br_prm&jobpos=1&jobversion=2


Company โ€“ Sasken Technologies Limited
Role โ€“ ENGINEER - DATA ANALYTICS
Exp. โ€“ 0-2 yrs
Apply Here โ€“ https://www.simplyhired.co.in/job/tt4qu-AID55ew5ju4VeD1mePh5nGJBvxiJXH5lHDj7y6gynk-2InTg
๐Ÿš€ Unleash the Power of ChatGPT - FREE Course!๐Ÿ’ฌ
Ready to master the art of ChatGPT and revolutionize your communication skills?
๐Ÿ‘‰ Click here to get access - https://bit.ly/41UehCP


๐ŸŒ Join our exclusive FREE course, "ChatGPT for Beginners," on Great Learning Academy! ๐Ÿค–๐Ÿ“š

๐ŸŒŸ What Awaits You:
โœ… Dive into the fundamentals of ChatGPT
โœ… Hands-on learning with practical exercises
โœ… Unlock the potential of conversational AI

๐Ÿ”ฅ Seize this opportunity! Elevate your knowledge with ChatGPT. ๐Ÿš€ Enroll Now to embark on a journey of enhanced communication!

๐Ÿ“ฃ Share this with friends who are curious about AI and chatbots! ๐Ÿค–๐Ÿ’ก #ChatGPT #GreatLearningAcademy #FreeCourse

๐Ÿ‘‰ Enroll Now! https://bit.ly/41UehCP

๐Ÿ‘‰Great Learning Academy - Your Gateway to AI Excellence!