๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
#include<bits/stdc++.h>
using namespace std;



int main(){
    int n,m;
    cin>>n>>m;

    vector<int>ans(n);

    if(n<=m){
        for(int i=0;i<n;i++){
            ans[i]=i+1;
        }
    }
    else{
        
        int k=n/m;
        // int r=n%m;
        int j=0;
        for(int i=0;i<n;i++){
            ans[i]=j+1;
            j++;
            j%=m;
        }
        

        

    }

    for(int i=0;i<n;i++){
        cout<<ans[i]<<" ";
    }
    cout<<endl;
}

King Dreams โœ…
Intuit
Company โ€“ WPP
Role โ€“ Data Analyst
Exp. โ€“ Fresher
Apply Here โ€“ https://www.linkedin.com/jobs/view/3788137565

Company โ€“ Facets Gems Polishing Works Pvt. Ltd.
Role โ€“ Data Analyst
Exp. โ€“ Fresher
Apply Here โ€“ https://www.simplyhired.co.in/job/qQdJcnUtaAA42tJ4G4XSq7sdgxkbMH8GyZl7f0FOkVHbIt64ytOUwA

Company โ€“ Anurag Electronic Gujarat
Role โ€“ Data Scientist
Exp. โ€“ 0-2 yrs
Apply Here โ€“ https://www.naukri.com/job-listings-data-scientist-phd-only-anurag-electronic-gujarat-mumbai-0-to-2-years-010421006391?src=sortby&sid=17069366294443773_1&xp=1&px=1&nignbevent_src=jobsearchDeskGNB

Company โ€“ Atmecs
Role โ€“ Data Scientist
Exp. โ€“ 0-1 yr
Apply Here โ€“ https://www.naukri.com/job-listings-data-scientist-atmecs-technologies-hyderabad-0-to-1-years-020224008496?src=sortby&sid=17069366294443773_1&xp=4&px=1&nignbevent_src=jobsearchDeskGNB


Company โ€“ NextGen Technologies
Role โ€“ Data Science Intern
Exp. โ€“  Fresher
Apply Here โ€“ https://www.linkedin.com/jobs/view/3820371899

Company โ€“ Assurant
Role โ€“ BI Intern
Exp. โ€“  Fresher
Apply Here โ€“ https://www.linkedin.com/jobs/view/3820637203

Company โ€“ Blackcoffer
Role โ€“ Data Science Intern
Exp. โ€“ Fresher
Apply Here โ€“ https://internshala.com/internship/detail/work-from-home-data-science-internship-at-blackcoffer1706929807?utm_source=cp_link&referral=web_share

Company โ€“   Jambudweep Shodh Kendra
Role โ€“ Data Analytics Intern
Exp. โ€“ Fresher
Apply Here โ€“ https://internshala.com/internship/detail/work-from-home-part-time-data-analytics-internship-at-jambudweep-shodh-kendra1706902404?utm_source=cp_link&referral=web_share
โค1
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
string makeLexicographicallySmallestPalindrome(string s) { 
    int n=s.length();
    unordered_map<char, int> cnt;
    string R = "";

    for (int i = 0; i < n; i++) {
        char a = s[i];
        cnt[a]++;
    }

    for (char i = 'a'; i <= 'z'; i++) {
        if (cnt[i] % 2 != 0)
            R += i;
    }

    int l = R.length();
    int j = 0;

    for (int i = l - 1; i >= l / 2; i--) {
        cnt[R[i]]--;
        R[i] = R[j];
        cnt[R[j]]++;
        j++;
    }

    string first, middle, second;

    for (char i = 'a'; i <= 'z'; i++) {
        if (cnt[i] != 0) {
            if (cnt[i] % 2 == 0) {
                int j = 0;
                while (j < cnt[i] / 2) {
                    first += i;
                    j++;
                }
            } else {
                int j = 0;
                while (j < (cnt[i] - 1) / 2) {
                    first += i;
                    j++;
                }
                middle += i;
            }
        }
    }

    second = first;
    reverse(second.begin(), second.end());
    string resultant = first + middle + second;
    return resultant;
}


Palindromic Algorithm โœ…
๐Ÿ”ฅ2๐Ÿ‘1
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <bits/stdc++.h> 
using namespace std;

class Directory {
public:
    unordered_map<string, unordered_set<string>> children;
    
    Directory(vector<vector<string>>& edges) {
        for (auto& edge : edges) {
            children[edge[0]].insert(edge[1]);
        }
    }
    
    void mkdir(string parent, string folder) {
        children[parent].insert(folder);
    }
    
    void rmdir(string folder) {
        children.erase(folder);
        for (auto& pair : children) {
            pair.second.erase(folder);
        }
    }
    
    int countSubdir(string folder) {
        int count = 1;
        for (auto& child : children[folder]) {
            count += countSubdir(child);
        }
        return count;
    }
};

vector<int> getSubFolders(vector<vector<string>>& existingStructureEdges, vector<string>& queries) {
    Directory dir(existingStructureEdges);
    vector<int> results;
    
    for (string& query : queries) {
        stringstream ss(query);
        string operation, x, y;
        ss >> operation;
        
        if (operation == "mkdir") {
            ss >> x >> y;
            dir.mkdir(x, y);
        } else if (operation == "rmdir") {
            ss >> x;
            dir.rmdir(x);
        } else if (operation == "count_subdir") {
            ss >> x;
            results.push_back(dir.countSubdir(x));
        }
    }
    
    return results;
}


File Structure โœ…
โค1๐Ÿ”ฅ1
int min(string str){
unordered_map<char,int>mp;
for(char :str){
  mp[ch]++;
}
unodered_set<int>d;
for(auto it:mp){
  d.insert(it.second);
}
return d.size();

}

Music Teacher โœ…
Only 4 test cases pass
Manish:
Company Name : Freshworks INC

Role : 1. Application Developer
           2. Software Developer

Package Freshers: 5LPA
Package Experience (1-2 yrs) : 7.5 LPA

Skills Needed : Java , Python , HTML, CSS, Java Script,  SQL and DBMS.

Location: Bangalore and Chennai (currently remote)

Passed out : 2021 - 2025

Round 1 : Coding Assessment Live in Google meet with interviewer (30 mins)

Round 2 : Technical Interview (30 mins)

Round 3 : HR Interview (20 mins)

https://docs.google.com/forms/d/e/1FAIpQLScSh9qPFBce3XvlCUbm4ZpIKuqTcN6IIsdTLPh2WXhAC4XRfQ/viewform?usp=sf_link