๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.69K 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
Internship opportunity for 2024,2025,2026 batch students

Company: Centre for Development of Telematics (C-D0T)

Eligibility: B.Tech/BE students (CS/EC) who have completed their second-year exams with a minimum CGPA of 7.0 or 70%.

Duration: Minimum 3 months to a maximum of 1 year. Stipend: 50,000/month + access to subsidized facilities.

Interview location: Bangalore/Delhi last date:31 Oct 2024.

Submit your CV and application form to internship@cdot.in

Shortlisted candidates will be called for an interview.
#include <bits/stdc++.h>
using namespace std;

int cleanupDataset(string dataset, int x, int y) {
    int freq[26] = {0};
    for(char c : dataset) {
        freq[c - 'a']++;
    }
   
    long long s_max = 0;
    for(int i = 0; i < 26; i++) {
        s_max += freq[i] / 2;
    }
   
    long long N = dataset.length() / 2;
   
    if(x <= y){
        long long cost = s_max * (long long)x + (N - s_max) * (long long)y;
        return (int)cost;
    }
    else{
        long long cost = N * (long long)y;
        return (int)cost;
    }
}

Amazon โœ