Tough TCS Codevita: Zone 2

sometime we are honest but you should also accept this fact if the question are simple there will be more submission so more plag could happen.so to prevent our self from plag always use some more extra function that doesnt do anything to ur code but it will change the flow of code.
ex:
//code
avoid();
//code
fucntion avoid(){
loop upto 10^6
like these

1 Like

Quite true. I have never faced such a problem before. Thanks. I will keep it in mind.

Feel you man. Don’t worry. TCS had bad test cases.

anyone able to solve StringMerge ?

Yup, I solved.

yep received congratulating mail … from tcs carreer

Yaa really bro i faced same problem even if I not copied and shared solution with anyone. It is problem of their plagiarism system

can you tell me your approch . i have tried with hashmap but it is giving me MLE error

If you do that the interviewers might doubt you when your code will be reviewed live during the time of the interview?