๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.62K 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
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
long long factorial(int n) {
    long long result = 1;
    for (int i = 1; i <= n; ++i) {
        result *= i;
    }
    return result;
}
long long combinations(int n, int r) {
    if (r > n || r < 0) return 0;
    return factorial(n) / (factorial(r) * factorial(n - r));
}

int countTeams(vector<int> skills, int minPlayers, int minLevel, int maxLevel) {
    vector<int> f;
    for (int skill : skills) {
        if (skill >= minLevel && skill <= maxLevel) {
            f.push_back(skill);
        }
    }

    int v = f.size();
    long long totalTeams = 0;
    for (int i = minPlayers; i <= v; ++i) {
        totalTeams += combinations(v, i);
    }
    return totalTeams;
}


IBMโœ…
vector<int> getOriginalArray(const vector<int>& pref) {
    int n = pref.size();
    vector<int> arr(n);
    arr[0] = pref[0];
    for (int i = 1; i < n; ++i) {
        arr[i] = pref[i] ^ pref[i - 1];
    }

    return arr;
}

IBMโœ…
โค1๐Ÿคฎ1
We're Hiring Business Analyst for Infoedge ( 99Acres.com)
Designation- Senior Business Analyst
Experience- 3-5 years (2020/2021 Batch Pass-outs only)
Location โ€“ Noida
Education - Bachelorโ€™s degree in business, engineering or math
Skills Required- SQL, Advanced Excel, Python (good to have), Tableau/ PowerBI

Interested candidates can share their resume at ratika.chugh@naukri.com

๐Ÿ’ผKey Responsibilities:
โ€ข Conduct in-depth analysis of product data to identify trends, patterns, and user behaviors by proactively setting up appropriate reports and analytic frameworks
โ€ข Analyze A/B test results and make recommendations for optimizing product performance.
โ€ข Analyze user interactions with the product to understand user behavior and preferences. Provide recommendations for improving user engagement and satisfaction.
โ€ข Work closely with product managers, designers, Tech & Data Science teams to understand product goals and objectives
void solve() {
ll n,k;cin>>n>>k;
v ans(n,0),temp;
v a(n+1,1);
ll maxi=n+1,mini=0;
fr(0,n-k,i){
    if(ans[i])continue;
    if(i&1){
      ans[i]=--maxi,a[maxi]=0;
      ans[i+k]=--maxi,a[maxi]=0;
    }
    else {
      ans[i]=++mini,a[mini]=0;
      ans[i+k]=++mini,a[mini]=0;
    }
}
fr(1,n+1,i)if(a[i])temp.push_back(i);
ll sz=temp.size(),j=0;
fr(0,n,i){
    if(!ans[i])ans[i]=temp[j++];
}
fr(0,n,i)dbg(ans[i]);


}

Rotate or Reverse โœ…
๐Ÿ‘1