๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.6K subscribers
5.59K photos
3 videos
95 files
10.1K 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
Xceedance is hiring!!
Policy Service Analyst for Night shift
Requirements:
0-1 year of experience in policy management, endorsement, renewals for property and casualty insurance
Willing to work in night shift
Non IT graduates

Interested and relevant candidates may share their resumes at shivani.srivastava@xceedance.com with the subject line as โ€œAnalyst- night shiftโ€.
#include <iostream>
#include <vector>
#include <unordered_map>
#include <sstream>

using namespace std;

vector<string> computeParameterValue(vector<vector<string>>& sources) {
    unordered_map<string, string> final_parameters;
    vector<string> order_of_keys;

    for (auto& source : sources) {
        for (auto& pair : source) {
            stringstream ss(pair);
            string key, value;
            getline(ss, key, ':');
            getline(ss, value, ':');

            if (final_parameters.find(key) == final_parameters.end()) {
                order_of_keys.push_back(key);
            }
            final_parameters[key] = value;
        }
    }

    vector<string> final_parameters_list;
    for (auto& key : order_of_keys) {
        final_parameters_list.push_back(final_parameters[key]);
    }

    return final_parameters_list;
}

Stock Analysis โœ…
static int getAnagramPeriod(String input_str) {
        int n = input_str.length();
       
        for (int period = 1; period <= n; period++) {
            if (n % period == 0) {
                String subString = input_str.substring(0, period);
                boolean valid = true;

                for (int i = 0; i < n; i += period) {
                    if (!isAnagram(subString, input_str.substring(i, i + period))) {
                        valid = false;
                        break;
                    }
                }

                if (valid) {
                    return period;
                }
            }
        }

        return -1;
    }

    static boolean isAnagram(String str1, String str2) {
        char[] charArray1 = str1.toCharArray();
        char[] charArray2 = str2.toCharArray();
        Arrays.sort(charArray1);
        Arrays.sort(charArray2);
        return Arrays.equals(charArray1, charArray2);
    }

Anagram Period โœ…
#include <bits/stdc++.h>
using namespace std;

int getMinimumMoves(string word) {
    unordered_map<char, int> freq;
    int moves = 0;

    for (char c : word) {
        freq[c]++;
    }

    for (auto& entry : freq) {
        moves += entry.second / 2;
    }

    return moves;
}

Minimum length word โœ…
๐Ÿ‘2
#include<iostream>
#include<vector>

using namespace std;

vector<int> replaceWithIndices(int size, vector<int>& arr) {
    vector<int> result(size);

    for (int idx = 0; idx < size; ++idx) {
        int temp;
        cin >> temp;
        arr.push_back(temp);
    }

    for (int idx = 0; idx < size; ++idx) {
        result[arr[idx]] = idx;
    }

    return result;
}

int main() {
    int arr_size;
    cin >> arr_size;

    vector<int> arr;
    vector<int> result = replaceWithIndices(arr_size, arr);

    for (int idx = 0; idx < arr_size; ++idx) {
        cout << result[idx] << " ";
    }

    return 0;
}

Barclays โœ…
๐Ÿ‘1
int main() {
    ll n;
    cin >> n;
    vector<pair<ll, ll>> s(n);
    for (ll i = 0; i < n; ++i) {
        cin >> s[i].first;
    }
    ll m;
    cin >> m;
    for (ll i = 0; i < m; ++i) {
        cin >> s[i].second;
    }
    sort(s.begin(), s.end(), [](const pair<ll, ll>& a, const pair<ll, ll>& b) {
        return a.second < b.second;
    });
    ll cnt = 0;
    ll lst = -1;
    for (auto& seg : s) {
        if (seg.first > lst) {
            lst = seg.second;
            ++cnt;
        }
    }
    cout << cnt << endl;
    return 0;
}

Barclaysโœ…
Saregama India Limited is looking for Mumbai based full time interns for a period of 3 months

The role and responsibilities are as under -

1. Creating entries for audio & video ingestions
2. Internal coordination with various teams
3. External coordination with vendors for various deliverables
4. Keeping a track of all link documents
5. Maintaining data
6. Tracking competition

Interested candidates please share your CVs on aakanksha.salunkhe@rpsg.in
Attention all fulltime graduates in BCA, BBA, Commerce, Science, and B.Tech (Non CS, Non IT, Non-Electronics)!

We have 10 open positions for Account Managers in Gurgaon with our leading client.

If you are a 2022-2023 passout with a minimum of 70% in all subjects

interested in working from the office, please reach out to alina@binarystarsearchx.com. Don't miss out on this opportunity!