๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K 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
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 โœ…
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
def is_valid_email(email):
    if not email.endswith('@hackerrank.com'):
        return False
   
    user = email[:-15]
   
    if len(user) < 1 or len(user) > 11:
        return False
   
    letters = 0
    underscore = 0
    digits = 0
   
    for char in user:
        if 'a' <= char <= 'z':
            if underscore or digits:
                return False
            letters += 1
        elif char == '_':
            if underscore or digits:
                return False
            underscore += 1
        elif '0' <= char <= '9':
            digits += 1
        else:
            return False
   
    if letters < 1 or letters > 6:
        return False
    if underscore > 1:
        return False
    if digits > 4:
        return False

    return True

query = int(input())
result = ['False'] * query

for i in range(query):
    someString = input()
    if is_valid_email(someString):
        result[i] = 'True'

with open('output.txt', 'w') as fileOut:
    fileOut.write('\n'.join(result))


Valid Email Addresses โœ…
int help(vl arr, vl arr2, int n)
{
    vector<pair<ll, ll>> ans;
    for (int i = 0; i < n; i++)
    {
        ans.pb({arr[i], arr2[i]});
    }
    sort(all(ans));
    debug(ans);
    ll ans1 = *max_element(all(arr));
    ll finalans = ans1;
    ll sum = 0;
    for (int i = n - 1; i >= 0; i--)
    {
        ans1 = ans[i].ff;
        finalans = min(finalans, max(ans1, sum));
        sum += ans[i].ss;
    }
    finalans = min(finalans, sum);
    return finalans;
}

Efficient Application Development โœ…
long getMaximumEfficiency(int n,int k,vl capacity,vl numserver){
    sort(numserver.begin(),numserver.end());
    sort(capacity.begin(),capacity.end());
    ll sum=0;
    int x=0;
    int y=n-1;
    for(int i=k-1;i>=0;i--){
        if(numserver[i]==1){
            break;
        }
        sum+=capacity[y]-capacity[x];
        x++;
        y--;
    }
    return sum;
}

Server upgrade โœ…
๐Ÿ‘1
from collections import deque
def can_reach_all_with_p(teammates, P):
    n = len(teammates)
    graph = [[] for _ in range(n)]
    for i in range(n):
        for j in range(n):
            if i != j:
                dist = abs(teammates[i][0] - teammates[j][0]) + abs(teammates[i][1] - teammates[j][1])
                if dist <= P:
                    graph[i].append(j)
    def bfs(start):
        visited = [False] * n
        q = deque([start])
        visited[start] = True
        count = 1
        while q:
            node = q.popleft()
            for neighbor in graph[node]:
                if not visited[neighbor]:
                    visited[neighbor] = True
                    q.append(neighbor)
                    count += 1
        return count == n
    for i in range(n):
        if bfs(i):
            return True
    return False

def min_initial_points(teammates):
    left, right = 0, 2 * 10**9 
    while left < right:
        mid = (left + right) // 2
        if can_reach_all_with_p(teammates, mid):
            right = mid
        else:
            left = mid + 1
    return left

Reach teammate
Groww โœ…
๐Ÿ“ŒBank of America Hiring Apprentice

Qualification:
Final year Graduates from the Class of 2025 ONLY

- Must Have Major Specialization in Computer Science & Information Technology ONLY
- Must have scored 60% in the last semester OR CGPA of 6 on a scale of 10 in the last semester
- No Active Backlogs in any of the current or prior semesters
- Students should be willing to join any of the roles/skills/segment as per company requirement
- Students should be willing to work in any shifts/night shifts as per company requirement
- Students should be willing to work in any locations namely โ€“ Mumbai, Chennai, Gurugram, Gandhinagar (GIFT), Hyderabad as per company requirement

๐Ÿ’ปApply: https://careers.bankofamerica.com/en-us/job-detail/24035855/apprentice-multiple-locations
๐Ÿ‘1