Round 1: In first round a program was given to solve.
- Pattern printing problem.
They will give any word as input for ex: WATER. This should be printed as
T TE TER TERW TERWA
I cleared the first program and moved to the second round.
Round 2: In second round the interviewer gave two programs to solve.
- Alternate Sort
Ex : INPUT : 1,2,3,4,5,6,7 (will be in any order) OUTPUT: 7,1,6,2,5,3,4
- Problem based on merge sort(Time complexity & space complexity important)
I was rejected in second round. I solved 1st problem, but the interview expected me to solve the problems in less amount of time.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.