Tip 1 : Have good grasp on OOPS since they have a round named Pair Programming round which is focused upon this.
Tip 2 : Write clean, modular and functional code.
Tip 3 : Practice Data Structures and Algorithms
Tip 4 : You should know breadth and depth of whatever is mentioned in your resume.
Tip 5 : Be loud and clear.
Tip 1 : Make single page resume.
Tip 2 : Mention relevant things on resume.
Tip 3 : Do not put any false things on resume. Projects, internships you are mentioning be ready to answer questions related to it regarding what you solved, idea, databases, design.
Tip 4 : Contribute in open source, participate in hackathons.
We were supposed to give test in any time between 3 PM to 9 PM.




A subtree of a tree T is a tree S consisting of a node in T and all of its descendants in T. The subtree corresponding to the root node is the entire tree. For better understanding, refer to the image below:-

1. The tree will always be rooted at 0.
2. You can return the count of nodes in any order.
3. The root of any subtree is also counted in the subtree thus the count of nodes in a subtree rooted at a leaf node is
4. You can return the numbers in any order.
Pair Programming Interview( this round is similar to machine coding round) it started around 11 AM
Focus Areas: Problem solving and implementation of extensions.
The pair coding round is focused on OOPS concepts. You are paired with a TWer for this round. They let you code first for an hour and in the next hour they review your code and suggest changes which would improve the code structure, readability and make it modular and reusable and functional.



1. The first jump will always be of 1 unit.
2. If Ninja's previous jump was ‘X’ units, his current jump must be either ‘X’ - 1, ‘X’, or ‘X’ + 1 units.
If ‘SAFE’ = [1, 2, 4, 7] then it can shown in below image where :
Red cell means that the unit is damaged.
Green cell means that the unit is safe.
We can see Ninja can reach the last unit by making jumps of size 1 , 2 and 3.

Students who were shortlisted from Pair Programming round was selected for this round around 3 PM. In this round there were two interviewer.
It was more focused on resume they discussed my projects and internships.
1. Asked me to make the tables used in project and discussed the relation between them, joins applied,types of keys, schema. Different types of Normalisation.
2. They asked me to design facebook, discussion around how its features have been implemented(data structures
used). Different objects and classes which are made use of different object oriented concept like making a class
abstract.
I had also mentioned some project related to NLP so they asked applications which have been made on that.
Basic OOPS related questions like polymorphism and it's type, different keywords which we use( abstract, final), Constructor chaining.
Working of HashMap in detail, how hashing works why we prefer HashMap.
Difference between paging and segmentation.
What is fregmentation, it's types?
Regarding my interest in open source and whether I have contributed in any project.


1. If the list is empty, the function immediately returns None because there is no middle node to find.
2. If the list has only one node, then the only node in the list is trivially the middle node, and the function returns that node.
Leadership Round, it was taken by a senior manager.
He asked me about previous work experience in the internships. How I was a team player? What kind of people I don’t like to work with? Biggest challenges faced by you and how you overcame them? How do you learn new technologies? Give me some situation based question that how I will handle if I am unable to solve some problem and deadline is near. How I will tell some senior person that mine solution is efficient. Do I contribute in open source?
Social Change ( this was the last round)
The last round was social change interview. Thoughtworks believes there are three pillars to a company: Sustainable Business, Software Excellence, and Social Justice. This round is for the third pillar of thoughtworks. I was asked questions about my thought on aritcle 377, What do you think about LGBT rights? What do you think about CAA and protests across the country related to CAA? What do you think about women’s rights? What do you think about reservation? Regarding my interest towards open source contribution, and how can I bring change in society with the help of technology.
So it was basically around this.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?