๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.58K subscribers
5.59K photos
3 videos
95 files
10K 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
D. E. Shaw India invites applications from final-year undergraduate students for associate roles. If youโ€™re an intellectually curious individual who enjoys collaborating on challenging and rewarding projects, we encourage you to apply (all fields of study are welcome!).

Applications close on March 9, 2025. To learn more, click below:
โ€ข Core Tech: https://lnkd.in/eDe2a3ib
โ€ข D. E. Shaw Research (Operations & Recruitment): https://lnkd.in/edM-tT4M
โ€ข Financial Research: https://lnkd.in/eiip4zZ3
#include <iostream>
#include <string>
using namespace std;

string newPassword(string a, string b) {
        string result;
        int minLength = min(a.size(), b.size());

        for (int i = 0; i < minLength; ++i) {
            result += a[i];
            result += b[i];
        }

        if (a.size() > minLength) {
            result += a.substr(minLength);
        } else if (b.size() > minLength) {
            result += b.substr(minLength);
        }

        return result;
    }

int main() {
    string a, b;
    getline(cin, a);
    getline(cin, b);

    cout << newPassword(a, b) << endl;
    return 0;
}

Password Creation โœ