๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.62K 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
List<Integer> findNumberSequence(String direction) {
        int n = direction.length();
        List<Integer> ans = Arrays.asList(new Integer[n]);
        int l = 0, r = n - 1;

        for (int i = 0; i < n; i++) {
            if (direction.charAt(i) == 'R') {
                ans.set(l, i + 1);
                l++;
            } else {
                ans.set(r, i + 1);
                r--;
            }
        }
        return ans;
    }

UKGโœ…
Exotel Hiring Software Engineer 1

Bachelor's or Master's degree in computer science or equivalent.

Experience:6 months -1 year
Good knowledge of one of the OOP languages: Golang (preferred) / PHP (preferred)/Java / Ruby / Python / C++

Good understanding of data structures, multi-threading and concurrency concepts.

Strong analytical and problem-solving skills.

Excellent written and verbal communication skills.

Team player, flexible and able to work in a fast-paced environment.

A "DevOps" mindset. You own what you will develop.




Good to Haves
Familiarity with 3-Tier, microservices architecture

Familiarity of RESTful services

Familiarity with developing Linux-based applications, networking and scripting

Familiarity with different data stores, data modelling, SQL & NoSQL databases

Familiarity with elastic search queries and visualization tools like grafana, kibana

Familiarity with networking fundamentals: Firewalls, Proxies, DNS, Load Balancing, etc.



Hiring Process:


1. Online Test

Comprising of four sections: Abstract Reasoning, Numeric Reasoning, Verbal Reasoning, and Hands-on Programming.

2. Tech Interview: Tech Round comprising of Data Structures & Algorithms

3. Hiring Manager Interview

4. HR Interview

https://exotel.com/careers/#op-638137-software-engineer1immediate-joiners-only
๐Ÿ‘3
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <iostream>
#include <unordered_map>
#include <string>
using namespace std;

void find_most_frequent_ngram(const string& S, int N) {
    unordered_map<string, int> a;
    int w = 0;
    string d;

    for (int i = 0; i <= S.length() - N; ++i) {
        string ngram = S.substr(i, N);
        a[ngram]++;
        if (a[ngram] > w) {
            w = a[ngram];
            d = ngram;
        }
    }
        cout << d << " " << w << endl;
}

int main() {
    string input, S;
    int N;
    getline(cin, input);
    size_t space_pos = input.find_last_of(' ');
    S = input.substr(0, space_pos);
    N = stoi(input.substr(space_pos + 1));
    find_most_frequent_ngram(S, N);
   
    return 0;
}
๐Ÿ‘1๐Ÿ”ฅ1
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
#include <iostream> #include <unordered_map> #include <string> using namespace std; void find_most_frequent_ngram(const string& S, int N) {     unordered_map<string, int> a;     int w = 0;     string d;     for (int i = 0; i <= S.length() - N; ++i) {        โ€ฆ
#include <iostream>
#include <string>
#include <unordered_map>

using namespace std;

pair<string, int> findMostFrequentNGram(const string &s, int n) {
    unordered_map<string, int> freqMap;
    int length = s.size();

    if (n > length) {
        return {"", 0};
    }

    for (int i = 0; i <= length - n; ++i) {
        string nGram = s.substr(i, n);
        freqMap[nGram]++;
    }

    string mostFrequent;
    int maxCount = 0;
  //  bool found = false;

    for (int i = 0; i <= length - n; ++i) {
        string nGram = s.substr(i, n);
        if (freqMap[nGram] > maxCount) {
            mostFrequent = nGram;
            maxCount = freqMap[nGram];
         //   found = true;
        }
    }

    return {mostFrequent, maxCount};
}

int main() {
    string s = "abcabcabc";
    int n = 3;
    auto result = findMostFrequentNGram(s, n);
    cout << "Most frequent " << n << "-gram: " << result.first << endl;
    cout << "Frequency: " << result.second << endl;
    return 0;
}
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <queue>
#define fastio ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define rep(i, n) for (int i = 0; i < n; ++i)
using namespace std;

int main() {
    fastio;

    int t = 1;
    while (t--) {
        int n;
        cin >> n;

        vector<int> v(n);
        rep(i, n) cin >> v[i];

        vector<int> sum(n + 1, 0);
        for (int i = 0; i < n; ++i) {
            sum[i + 1] = sum[i] + v[i];
        }

        int maximum = 0;
        for (int i = 1; i <= n; ++i) {
            maximum = max(maximum, (sum[i] + i - 1) / i);
        }

     

        int q;
        cin >> q;

        rep(i, q) {
            int x;
            cin >> x;
            if (x < maximum) {
                cout << -1 << endl;
            } else {
                cout << (sum[n] + x - 1) / x << endl;
            }
        }
    }

    return 0;
}


Rivertown sequence โœ…
โค1๐ŸŽ‰1
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
def valueOfExpression(n):
    if n <= 1:
        return 0
    count = 0
    d = 2
    while d * d <= n:
        if n % d == 0:
            count += 1
            while n % d == 0:
                n //= d
        d += 1
    if n > 1:
        count += 1
    return count

def fun(arr):
    maxFactors = 0
    result = 0
    for num in arr:
        factors = valueOfExpression(num)
        if factors > maxFactors or (factors == maxFactors and num > result):
            maxFactors = factors
            result = num
    return result

def solve(x, n, a):
    result = float('inf')
    for i in range(n - x + 1):
        result = min(result, fun(a[i:i+x]))
    return result


Value Of an expressionโœ…
Ericsson Hiring Software Developer

Qualification required B.E/ B.Tech/M.tech- 2023 or 2024 passed out with good communication
โ€ข    6 months- 1 year of experience into Java : Core java, Spring, Springboot, Hibernate, Rest Web Services, Java Script, JQuery, Maven
โ€ข    Knowledge of Application Server, Deployment, troubleshooting

https://jobs.ericsson.com/careers/job/563121760839673?jobPipeline=LinkedIn&domain=ericsson.com
๐Ÿ‘1