๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.6K photos
3 videos
95 files
10.2K 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
import requests

def asteroidOrbits(year, orbitclass):
    base_url = "https://jsonmock.hackerrank.com/api/asteroids/search"
    page = 1
    res = []

    while True:
        response = requests.get(f"{base_url}?orbit_class={orbitclass}&discovery_date={year}&page={page}").json()
        res.extend(response['data'])

        if page >= response['total_pages']:
            break

        page += 1
    res.sort(key=lambda x: (float(x.get('period_yr', 1.00)), x['designation']))
    return [x['designation'] for x in res]


Rest API: Asteroid Orbits โœ…
๐Ÿ‘2๐Ÿ‘Ž1
Dear candidate, Genpact is hiring for AML/KYC (Financial crime & compliance)

Please find the below criteria

1) candidates must have basic knowledge of AML/KYC along with good communication skills written/ verbal as well

2) 0-2 years of experience / fresher/graduate/ MBA fresher also apply.

3) Noida location

4) UK shift and 5 days working from office Please send your resume Priyanka.Kharbanda@Genpact.com
void solve(int tc)
{
        int n,k;
        string s;
        cin >> k >> s;
        n = s.size();
        string str="";
        string find=s.substr(k,n-1);
        int i=0,j=k-1;
        while(i<j)
            str+=s[i++],str+=s[j--];
        if(i==j) str+=s[j];
        reverse(all(str));
        string res = str + find;
        cout << res << '\n';
    }

String Reversal โœ…
๐Ÿ‘1