๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
    int T;
    cin >> T;
    while (T--) {
        int n;
        cin >> n;
        vector<int> A(n);
        for (int i = 0; i < n; ++i) {
            cin >> A[i];
        }
        vector<int> even, odd;
        for (int i = 0; i < n; ++i) {
            if (A[i] % 2 == 0) {
                even.push_back(A[i]);
            } else {
                odd.push_back(A[i]);
            }
        }
        sort(even.begin(), even.end());
        sort(odd.begin(), odd.end());

        long long validPairs = 0;

        for (int i = 0; i < odd.size(); ++i) {
            validPairs += even.end() - upper_bound(even.begin(), even.end(), odd[i]);
        }

        for (int i = 0; i < even.size(); ++i) {
            validPairs += odd.end() - upper_bound(odd.begin(), odd.end(), even[i]);
        }

        cout << validPairs << endl;
    }
    return 0;
}

Pair Validity โœ…
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <iostream>
#include <unordered_set>
#include <string>

using namespace std;

bool isSplendid(string num) {
    unordered_set<char> splendid_digits = {'0', '1', '6', '8', '9'};
    unordered_map<char, char> rotation_map = {{'0', '0'}, {'1', '1'}, {'6', '9'}, {'8', '8'}, {'9', '6'}};
    string rotated_num = "";
    for (int i = num.size() - 1; i >= 0; i--) {
        if (splendid_digits.find(num[i]) == splendid_digits.end()) {
            return false;
        }
        rotated_num += rotation_map[num[i]];
    }
    return num == rotated_num;
}

int countSplendidNumbers(string low, string high) {
    int count = 0;
    for (int i = stoi(low); i <= stoi(high); i++) {
        if (isSplendid(to_string(i))) {
            count++;
        }
    }
    return count;
}

int main() {
    string low, high;
    cin >> low >> high;
    cout << countSplendidNumbers(low, high) << endl;
    return 0;
}

Natasha's hobby โœ…
๐ŸšจLatest Job Opening Update - Internship, Jobs for Freshers and remote jobs are available

Company - EY
Role - Data-Science Intern
Exp - Fresher
Apply Now - https://www.thejob.dev/job/6666b7536d44e0b71d461f29

Company - Quantum Leap Learning Solutions Pvt Ltd
Role - Data Analytics Intern
Exp - Fresher
Apply Now - https://www.linkedin.com/jobs/view/3946886316

Company - NextGen Technologies
Role - Data Science Intern
Exp - Fresher
Apply Now - https://www.linkedin.com/jobs/view/3947460222

Company - Hypersonix Inc.
Role - Data Scientist
Exp - 0-2 Yrs
Apply Now - https://www.linkedin.com/jobs/view/3942751190/

Company - Caterpillar Inc.
Role - Data Scientist
Exp - 0-2 Years
Apply Now - https://www.linkedin.com/jobs/view/3947079671
๐Ÿ‘1
We are hiring freshers!

Position - Fresher
Skills - Data Science & Python
Education - B.Tech /BE / B.Sc ( Mathematics or Statistics) / M.Tech / ME
Location - Kolkata (Work from office)
Interview Mode - Face to Face in Kolkata.
Looking for immediate joiners who can join us at the earliest.

Requirements:-
1. Looking for candidates who has completed their education in 2022 or 2023.
2. Educational details with Marks, Year of Passing, Board and it should be 10th onwards.
3. Should have min 60% throughout in education
4. The CV should contain the following details - Photograph, DOB, Address, Education details with percentage and pass out in which year,
5. Working Experience with from and to.

Interested candidate are requested to share their resumes at soumyadipta.maity@itcinfotech.com .

Please share the resume in the below mentioned format.

Name
Highest Education
Year of Pass out
Percentage achieved
Current location
Degree certificate received (Yes/No)
Available for Face-to-Face interview (Yes/No)
Can join immediately (Yes/No)
At Huddle Ventures, we are in the hunt of an exceptional Investment Fellow (remote) to join us for 3-6 months.

If you are someone who is undergoing their undergraduate program and is driven by inquisitiveness and well crafted research, come work alongside the core team to help us identify and grow the next set of relentless founders and businesses.

Apply here: https://docs.google.com/forms/d/e/1FAIpQLSeEtsT_xzf-ZEKe8cbmvSD9HCJX97Fi3PIghJP4IiBBy-SOzQ/viewform?usp=send_form&_sm_nck=1
Application Deadline: 16th June, 2024

Pre-Requisite: Must be currently enrolled in an Undergraduate program.