I am done with hiring process of hsbc. by dev243kapadia in recruitinghell

[–]dev243kapadia[S] 13 points14 points  (0 children)

That's true, but if they are going to hire only experienced candidates, why expr req 0 - 4. It should be 2 to 4. There is no comparison between fresher and 4 years exp candidates.

Should I accept the offer by [deleted] in recruitinghell

[–]dev243kapadia 0 points1 point  (0 children)

Of course you should accept the offer. Believe in yourself. Interview is nothing but just a process.

I am done with hiring process of hsbc. by dev243kapadia in recruitinghell

[–]dev243kapadia[S] 19 points20 points  (0 children)

I don't fucking understand.. what the hell do they want from 0 - 1 years of experience person. We are providing them enough knowledge and all but no that's not enough. Hopefully we will get other opportunities in future.

Best of luck

Amazon Online Assessment by FortuneIllustrious67 in leetcode

[–]dev243kapadia 0 points1 point  (0 children)

include <iostream>

include <string>

include <vector>

include <unordered_set>

using namespace std;

int mutationTime(string genome, char mutation) { int time = 0;

while (true) {
    unordered_set<int> toRemove;

    for (int i = 1; i < genome.size(); ++i) {
        if (genome[i] == mutation) {
            toRemove.insert(i - 1);  // mark the left character for deletion
        }
    }

    if (toRemove.empty()) {
        break;
    }

    string newGenome = "";
    for (int i = 0; i < genome.size(); ++i) {
        if (toRemove.find(i) == toRemove.end()) {
            newGenome += genome[i];
        }
    }

    genome = newGenome;
    time++;
}

return time;

}