๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.61K 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
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <iostream>
#include <vector>
#include <unordered_map>
#include <climits>
using namespace std;

vector<string> findSmallestSubchain(vector<string>& a, vector<string>& b) {
    unordered_map<string, int> c;
    unordered_map<string, int> d;

    for (const string& e : b) {
        c[e]++;
    }

    int e = c.size();
    int f = 0;
    int g = 0, h = 0;
    int i = INT_MAX;
    int j = -1;

    while (h < a.size()) {
        string k = a[h];
        d[k]++;

        if (c.find(k) != c.end() && d[k] == c[k]) {
            f++;
        }

        while (g <= h && f == e) {
            string l = a[g];
            if (h - g + 1 < i) {
                i = h - g + 1;
                j = g;
            }

            d[l]--;
            if (c.find(l) != c.end() && d[l] < c[l]) {
                f--;
            }
            g++;
        }

        h++;
    }

    if (i == INT_MAX) {
        return {};
    }

    vector<string> m(a.begin() + j, a.begin() + j + i);
    return m;
}


Devere โœ…
๐Ÿ“ŒCoretus Technologies Hiring

Want something more than just a conventional tech role? How about creating the next frontier in AI? ๐Ÿค–

1. Business Analyst (Apply here: https://www.coretus.com/career/business-analyst)

2. ReactJS Developer (Apply here: https://www.coretus.com/career/reactjs-developer)

3. NodeJS Developer (Apply here: https://www.coretus.com/career/nodejs-developer)

4. Flutter Developer (Apply here: https://www.coretus.com/career/flutter-developer)

5. Python Developer (Apply here: https://www.coretus.com/career/python-developer)


๐Ÿ“ Location: Rajkot, Gujarat

Got some more questions? Reach out to us on +91-7861077977
For more information, visit: https://www.coretus.com/career
We, at Sub-Same-Day team of Amazon, have two openings for the role of Junior Business Analyst. In this role, you'll play a key role in supporting our efforts to optimize delivery processes and enhance the customer experience.

Who We're Looking For:
ยท     Recent graduate or early career professional with 0-2 years of experience.
ยท     Strong analytical and problem-solving skills with a passion for data-driven decision making.
ยท     Proficient in advanced SQL
ยท     Experience with Python or R is a plus.

Location : Bengaluru (hybrid)

If youโ€™re interested, please mail your resume, along with a short description of your experience in analytics (professional or academic) to kriti.13.sahu@gmail.com.

Freshers are welcome to apply.

I will update this post with official JD
within a few days.
https://docs.google.com/forms/d/e/1FAIpQLSe6uULbQrXH08U3K6HUVWAgXiUHpdSAutmzzODTjbAQHAqCBA/viewform

Thiran Technologies
Freshers Recruitment 2024
We are seeking individuals with outstanding communication skills, diverse talents, and a deep enthusiasm for coding to join our Freshers 2024 cohort in our Product Implementation and AI Implementation teams.

We are eager to get to know you better! The information you share will provide our recruiters with valuable insights into both your personal background and your potential as a candidate. Your input plays a crucial role in helping us understand how you align with our team's goals and opportunities.
https://www.linkedin.com/posts/anubhav-maheshwari-1a6a9a18b_hiring-freshers-analyst-activity-7239557758004404224-A1HN?utm_source=share&utm_medium=member_desktop

hashtag#Hiring hashtag#Freshers hashtag#Analyst hashtag#IQVIA
๐ŸŒŸ Exciting Opportunity at IQVIA for Freshers seeking an Analyst profile! ๐ŸŒŸ

Apply right away as the window period is short. Do like and share for better reach as it's a fresher role! ๐ŸŽƒ

Join IQVIA and be part of transforming healthcare through data-driven insights and analysis! We're seeking Associate Analysts who are eager to contribute to healthcare innovation and client success.

Apply now (Referral Link):
https://lnkd.in/guP4Xef3

Let's revolutionize healthcare together! ๐Ÿš€
I realized it very late precisely 2 years after college, Hope it will not happen with you.

Try investing your time in below during your initial years of Engineering and thank me later:

- Replace Instagram, Snapchat etc apps with Product Hunt, YC Hacker News.๐Ÿ“ฑ

- Follow influential people in your niche on LinkedIn and Twitter instead of controversies.๐Ÿ—ฃ๏ธ

- Stay informed about the No-Code and Automation tools in the market and leverage them.๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

People are building and breaking things literally everyday and what we hear from people in tech, Learn DSA and build projects that's the only way.

There's nothing wrong in it but can be expanded and surely a mindset shift awaits.๐Ÿš€
๐Ÿ‘8
void dfs(vector<vector<int>> &forest, int i, int j, int n)
{
    if (i < 0 or i >= n or j < 0 or j >= n or forest[i][j] != 0)
    {
        return;
    }

    forest[i][j] = 2;

    dfs(forest, i - 1, j, n);
    dfs(forest, i + 1, j, n);
    dfs(forest, i, j - 1, n);
    dfs(forest, i, j + 1, n);
}

int solution(vector<vector<int>> &forest,int n )
{
  
    int count = 0;

    for (int i = 0; i < n; i++)
    {
        for (int j = 0; j < n; j++)
        {
            if (forest[i][j] == 0)
            {
                dfs(forest, i, j, n);
                count++;
            }
        }
    }

    return count;
}

Inframarket โœ…
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
using ll = long long;
long long minOverlapCost(vector<vector<int>> &segments)
{

    sort(segments.begin(), segments.end(), [](const vector<int> &a, const vector<int> &b)
         { return a[1] < b[1]; });

    ll minCost = LLONG_MAX;
    ll minL = 1e18;
    ll minCostSoFar = 1e18;

    for (const auto &seg : segments)
    {
        ll L = seg[0], R = seg[1], cost = seg[2];

        if (minL < L)
            minCost = min(minCost, 1LL * minCostSoFar * cost);

        if (cost < minCostSoFar)
        {
            minCostSoFar = cost;
            minL = R;
        }
    }

    return (minCost == LLONG_MAX) ? -1 : minCost;
}

Inframarket โœ…
long long solve(int n, int s, int f, vector<int> cost) {
    s--;
    f--;
        long long cw = 0;
    int i = s;
    while (i != f) {
        cw += cost[i];
        i = (i + 1) % n;
    }
   
    long long ccw = 0;
    i = s;
    while (i != f) {
        i = (i - 1 + n) % n; 
        ccw += cost[i];
    }
        return (cw < ccw) ? cw : ccw;
}

Tram Ride โœ…
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int countSubstrings(string input_str) {
    string d[9] = {"ab", "cde", "fgh", "ijk", "lmn", "opq", "rst", "uvw", "xyz"};
    vector<int> mp(26, 0);
    for (int i = 0; i < 9; ++i) {
        for (char c : d[i]) {
            mp[c - 'a'] = i + 1;
        }
    }

    int ans = 0;
    int n = input_str.size();
    for (int i = 0; i < n; ++i) {
        int s = 0;
        for (int j = i; j < n; ++j) {
            s += mp[input_str[j] - 'a'];
            if (s % (j - i + 1) == 0) {
                ++ans;
            }
        }
    }

    return ans;
}

Countsubstring โœ