๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
Forwarded from Amazon Exam Placement Group (Dushyant)
Amazon Exam Placement Group
Photo
vector<int> suitableLocations(vector<int>& center, long d) {
    auto feasible = & {
        long total = 0;
        for (int point : center) {
            total += abs(mid - point) * 2;
        }
        return total <= d;
    };
    auto binarySearchRight = & {
        int low = start;
        int high = end;
        while (low <= high) {
            int mid = low + (high - low) / 2;
            if (feasible(mid)) {
                low = mid + 1;
            } else {
                high = mid - 1;
            }
        }
        return low - 1;
    };
    auto binarySearchLeft = & {
        int low = start;
        int high = end;
        while (low <= high) {
            int mid = low + (high - low) / 2;
            if (feasible(mid)) {
                high = mid - 1;
            } else {
                low = mid + 1;
            }
        }
        return low;
    };
    vector<int> suitablePoints;
    int rightLimit = binarySearchRight(0, *max_element(center.begin(), center.end()) + d);
    int leftLimit = binarySearchLeft(*min_element(center.begin(), center.end()) - d, -1);
    for (int i = leftLimit; i <= rightLimit; ++i) {
        suitablePoints.push_back(i);
    }
    return suitablePoints;
}

Amazon โœ…
๐Ÿ‘1
Forwarded from Amazon Exam Placement Group (Dushyant)
int totalDist(vector<int>& c, int x) {
    int d = 0;
    for (int i : c) d += 2 * abs(i - x);
    return d;
}

int suitableLocations(vector<int>& c, long long d) {
    sort(c.begin(), c.end());
    auto td = & { return totalDist(c, x); };
    int m = c.size() / 2, l = m, r = m;
    while (td(l) <= d) l -= 1;
    while (td(r) <= d) r += 1;
    return max(0, r - l - 1);
}

Amazon โœ…
long wt = 0, ct = 0;
        for (int i = 0; i < N; i++) {
            if (patients[i][0] > ct) {
                ct = patients[i][0];
            }
            wt += ct + patients[i][1] - patients[i][0];
            ct += patients[i][1];
        }
        return wt / N;

Doctor โœ…
๐Ÿ‘1
Hexaview Technologies Inc. hiring for QA (Freshers ) for
Noida location.

Send cv at ghulam.kashif@hexaviewtech.com (Sub: QA Fresher)
Position:-Software Quality Engineer (Fresher)
Location:- Noida
Eligibility Criteria - B. Tech/MCA/M.Tech -2021/2022
Job Description :
Software Quality Engineer Role:
Requirement:
Oops concepts
Testing understanding
Web and mobile testing concepts
SQL
Coding
Analytical skills
Communication
Attitude
Develop comprehensive test plans, test cases, and test scripts
based on software requirements and design documents.
Execute test cases and record test results, ensuring adherence
to established quality standards.
Collaborate with cross-functional teams, including developers,
product managers, and stakeholders, to understand project
requirements and drive quality improvements.
Conduct performance, scalability, and security testing to ensure
software stability and compliance.
Continuously improve testing processes and methodologies to
increase efficiency and effectiveness.
๐Ÿ‘1
class UserMainCode(object):
    @staticmethod
    def arduino(input1, input2):
        cnt = 0
        ans = []
        for i in range(1, input1 + 1):
            for j in range(i):
                cnt+=input2[j]
                ans.append(cnt)
        return max(ans)

Ardunio โœ