allcoding1
27.6K subscribers
2.2K photos
2 videos
77 files
853 links
Download Telegram
Code 1πŸ‘†
Code 2πŸ‘‡

string solve(string bs) {
    map<string, string> nb = {
        {"001", "C"},
        {"010", "G"},
        {"011", "A"},
        {"101", "T"},
        {"110", "U"},
        {"000", "DNA"},
        {"111", "RNA"}
    };

    string ds = "";
    string t = nb[bs.substr(0, 3)];
    for(int i = 3; i < bs.length(); i += 3) {
        string b = bs.substr(i, 3);
        if(nb.find(b) != nb.end()) {
            string x = nb[b];
            if(t == "DNA" && x == "U") {
                x = "T";
            }
            ds += x;
        } else {
            ds += "Error";
        }
    }

    return ds;
}

DNAβœ…
IBM

Telegram:- @allcoding1
Valid user βœ…

Telegram:- @allcoding1
πŸ‘4❀3
This media is not supported in your browser
VIEW IN TELEGRAM
🎯Amazon off Campus Drive 2024 Hiring Freshers As Associate Quality Services | 2.52-4 LPA

Job Role : Associate Quality Services
Qualification : BE/BTech/MCA/BSc/BCA/MSc
Experience : Freshers
Salary CTC : Rs 2.52-4 LPA

Apply Now:- www.allcoding1.com

Telegram:- @allcoding1
❀2πŸ‘2
#include <bits/stdc++.h>
#define ll long long

using namespace std;

ll solve(ll k, ll s) {
    auto comb = [](ll n) {
        return n * (n - 1) / 2;
    };

    if (k > 3 * s) return 0;

    ll ans = comb(k + 2);

    if (k > s) ans -= 3 * comb(k - s + 1);
    if (k - 2 >= 2 * s) ans += 3 * comb(k - 2 * s);

    return ans;
}

int main() {
    ll n, s;
    cin >> n >> s;
    cout << solve(s,n) << endl;
    return 0;
}

Distribute Car Toy
Service Now βœ…

Telegram:- @allcoding1
πŸ‘7
int solve(vector<int>& nums) {
    vector<int> s(nums);
    sort(s.begin(), s.end());
    int i = 0, j = nums.size() - 1;
    while (i < nums.size() && nums[i] == s[i]) {
        i++;
    }
    while (j > i && nums[j] == s[j]) {
        j--;
    }
    return j - i + 1;
}

Arrange the heights
Apple βœ…

Telegram:- @allcoding1
πŸ‘4❀2
#include<bits/stdc++.h>
using namespace std;

void dfs(int node, vector<int>& vis, vector<vector<int>>& adj) {
    vis[node] = 1;
    for(auto it : adj[node]) {
        if(!vis[it]) {
            dfs(it, vis, adj);
        }
    }
}

int main() {
    int n, m;
    cin >> n >> m;
    vector<vector<int>> adj(n);
    for(int i = 0; i < n; i++) {
        for(int j = 0; j < m; j++) {
            int x;
            cin >> x;
            if(x == 1) {
                adj[i].push_back(j);
                adj[j].push_back(i);
            }
        }
    }
    vector<int> vis(n, 0);
    int cc = 0;
    for(int i = 0; i < n; i++) {
        if(!vis[i]) {
            dfs(i, vis, adj);
            cc++;
        }
    }
    cout << cc << endl;
    return 0;
}

Telegram:- @allcoding1
πŸ‘7
def count(a, X):
    a.sort()
    ans = 0
    n = len(a)

    for i in range(n):
        if (i < n // 2):
            ans += max(0, a[i] - X)
        elif (i == n // 2):
            ans += abs(X - a[i])
        else:
            ans += max(0, X - a[i]);

    return ans

IBM
Telegram:- @allcoding1
πŸ‘3πŸ‘1
Cognizant Off Campus Hiring | Data Analyst – Fresher | Upto 7.5 LPA


Job RoleData Analyst
QualificationB.E/B.Tech
BatchAny Batch
CTC/SalaryUpto 7.5 LPA

Apply Now:- www.allcoding1.com

Telegram:- @allcoding1
πŸ‘2
🎯Deloitte National Level Hiring 2024 As Analyst Trainee | 4-8 LPA

Job Role Analyst Trainee
Qualification BE, B Tech, ME, M Tech, MCA
Location PAN India
Salary 4-8 LPA

Apply Now:- www.allcoding1.com

Telegram:- @allcoding1
πŸ‘6
🎯Wipro Recruitment 2024 For Banking Operations

Location: Chennai

Qualification: Any Graduate

Work Experience: Freshers / Experience

Apply Now:- www.allcoding1.com

Telegram:- @allcoding1
πŸ‘3πŸ”₯1
long long OneBlock(int N, vector<int> Arr) {
    vector<int> one_indices;
    for (int i = 0; i < N; ++i) {
        if (Arr[i] == 1) {
            one_indices.push_back(i);
        }
    }

    if (one_indices.size() <= 1) {
        return 1;
    }

    long long ways = 1;
    for (int i = 1; i < one_indices.size(); ++i) {
        int zeros_between_ones = one_indices[i] - one_indices[i - 1] - 1;
        ways *= (zeros_between_ones + 1);
    }

    return ways;
}
//one block

C++

Telegram:- @allcoding1
πŸ‘4❀1
def PowerLimit(a, b):
  current_resource, max_seconds = 1, 0
  while a > 0 and b > 0:
    if a > b:
      current_resource, a, b = 1, a - 2, b + 1
    else:
      current_resource, b, a = 2, b - 2, a + 1
    max_seconds += 1
  max_seconds += a // 2 if current_resource == 1 else b // 2
  return max_seconds

power limit βœ…

Telegram:- @allcoding1
πŸ‘4
Meesho extended there exam date

And calling students to virtual interview based on there exam dates

Company name : MEESHO Role: BUSINESS ANALYST

Apply Now:- https://docs.google.com/forms/d/e/1FAIpQLSc3DvqJDjZeYjFZX2OgVPwm5shjCX4a0APzYBaTBoPzTf4khg/viewform?pli=1

While applying make sure in your CV mention python and sql.

Telegram:- @allcoding1
πŸ‘8
🎯Harmonic Off Campus Drive 2024 for Associate Software Engineer | 4 LPA

Job Role : Associate Software Engineer
Qualification : B.E/B.Tech
Batch : 2023
Salary : 4 LPA*

Apply now

https://jobs.jobvite.com/harmonic/job/okzUqfwX?nl=1&fr=true

Telegram:- @allcoding1
πŸ‘2
Company Name: Zoho

Role: Software Developer

Batch eligible: 2022, 2023 and 2024 passouts

Apply: https://careers.zohocorp.com/forms/fcc89b5ebd373d598e0224d10f2199d1a8839a1914d1ba3a141e0b0ddcfcfc32

Telegram:- @allcoding1
❀1
🎯Tech Mahindra off Campus Hiring As Associate Software Engineer | Rs.3.25 LPA & 5.5LPA

Designation : Associate Software Engineer
Eligibility : Engineering / MCA
Salary CTC : Rs.3.25 LPA & 5.5LPA (for super coders)

Apply Now:-

https://registration.techmahindra.com/Candidate/RegDefault.aspx

Telegram:- @allcoding1
🎯HSBC Recruitment 2024 For Data Analyst

Location: Bangalore

Qualification: Bachelor’s / Master’s Degree

Work Experience: Freshers / Experience

Apply now:-

https://mycareer.hsbc.com/en_GB/external/PipelineDetail/Analyst-Data-Governance-GSC-S/216031?source=jobscoupe.com


Telegram:- @allcoding1
πŸ‘3❀2
🎯ICICI Bank Recruitment 2024 For Phone Banking Officer

Location: Chennai / Hyderabad / Thane / Guwahati / Indore

Qualification: Any Graduate

Work Experience : 0 – 6 Years

Apply Now:-

https://www.icicicareers.com/website/Jobs/Hot-Jobs/2031018.html?utm_source=jobscoupe.com

Telegram:- @allcoding1
πŸ‘2