Problem of the day
Tip 1: Practice at least 300 coding questions.
Tip 2: Be confident.
Tip 3: Don't tell lies in interviews.
Tip 1: Mention some good projects.
Tip 2: Don't put any false things.
CodeVita: CodeVita is an online coding contest that is conducted by TCS every year across the whole world for coders to showcase their programming skills. There are three rounds in CodeVita:
Pre Qualifier: Conducted Online
Qualifier: Conducted Online
Grand Finale: Conducted in India (offline) in TCS centers
In the Pre Qualifier round, there are 6 questions, and if you are able to solve at least 1 question and clear it’s all the test cases, there is a chance that you will get an interview call from TCS. For the safe side try to solve 2 questions or more completely.
List: 10 -> 20 -> 30 -> 40 -> 50 -> 60 -> null
Alternate nodes ...
This was a very easy question. We just need to traverse the whole link list. Set initial count to 0. Then go on printing the nodes when the count is even and visit the next node.
The brute force approach is simple. Loop through each element x and find if there is another value that equals to target - x.
To improve our run time complexity, we need a more efficient way to check if the complement exists in the array. If the complement exists, we need to look up its index. What is the best way to maintain a mapping of each element in the array to its index? A hash ta...
We were informed by the TCS a day before the interview about the time of our interview and all. As this year the whole process was online so a bunch of instructions was mentioned by TCS like the internet connectivity, important documents to present, and all. I joined the virtual lobby on time and my slot was from 3:30 PM to 6:30 PM, there were a few more candidates in the virtual lobby, and a lady started to speak. I was the first to give the interview and all other candidates were given different slots by that lady for their interviews.
Tell me something about yourself and tell me about the approaches you used to solve the problems in the contest:
I introduced myself with confidence and tried to showcase my skills in the introduction because the flow of the whole interview depends very much upon the introduction. I explained to him the question and my approach. The question was basically to find whether a given string contains 3 palindrome sub-strings or not.
My approach for solving this question was: consider the first letter as the ...
Four pillars of Object-oriented programming are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Serialization in Java is a mechanism of writing the state of an object into a byte-stream. The reverse operation of serialization is called deserialization where byte-stream is converted into an object.
I had read up these topics from GFG before.
This interview directly started with questions.
How has the covid-19 pandemic affected the IT industry?
I answered that the covid-19 pandemic has affected all the industries but not the IT industry where physical presence is not required . Work from home was easily implemented in this industry and the productivity of the company and employees was not affected that much. Companies, where physical presence is required, were most affected during the covid-19 nationwide lockdown.
What is the contribution of the TATA group towards the betterment of our nation?
You have to do your research about the company so that interviewer will think that you are genuinely interested to join the company. I answered the question and told him about the charities which done by the TATA group and Ratan Tata (former chairman of Tata Sons).
First, she introduced herself and then asked me to give my introduction. Then she asked behavorial and general questions.
1 : To answer this question, my research about TCS helped me. I told her TCS is a great company and I will learn a lot from my seniors and colleagues. And I also told her that you can take a study gap in TCS to complete your higher education.
2 : I said no. She then explained to me the contract.
3 : I said yes ma’am with confidence and a smile on my face.