Tip 1: Be consistent, not perfect.
Tip 2: Revise core subjects (OS, DBMS, OOPs).
Tip 3: Stay patient and confident.
Tip 1: Keep it simple with all the necessary details.
Tip 2: Add numerical values to show the impact.
Infosys invigilators were present, ensuring strict monitoring throughout the process. The questions were challenging, and everyone felt both excited and nervous. The assessment was conducted smoothly within the given time under strict invigilation.



LCM(1,N) + LCM(2,N) + .. + LCM(N,N)



Given a binary tree :

All the root to leaf paths are :
1 2 4
1 2 5
1 3
1. Two nodes may have the same value associated with it.
2. The root node will be fixed and will be provided in the function.
3. Note that the nodes in a path will appear in a fixed order. For example, 1 2 3 is not the same as 2 1 3.
4. Each path should be returned as a string consisting of nodes in order and separated by a space.
5. The path length may be as small as ‘1’.

All numbers less than 30 with digits 2 and 5 are 2, 5, 22, 25.



1
/ \
2 3
The root to leaf path 1->2 represents the number 12.
The root to leaf path 1->3 represents the number 13.
The total sum of all the possible root to leaf paths is 12+13 = 25
The output may be very large, return the answer after taking modulus with (10^9+7).
MODE: OFFLINE(1 hour)
FOCUS: DSA + CS Fundamentals
DSA Questions:
- Merge Sort and its time complexity
- Two Sum problem:
* Solved using HashMap approach
* Follow-up: why not use Two-pointer approach (I replied only if array is sorted)
* Follow-up: why you are giving more importance to time than space complexity
* Explained time complexity trade-off: O(n log n) time, O(1) space if not sorted
* Explained why time complexity is more important than space complexity
- Number of nodes in a tree
- Finding distance between source and node in a graph
- Finding unique elements in an array
- Heap insertion, properties, and time complexity
CS Fundamentals:
- OOPs: Encapsulation, Inheritance, Polymorphism, Abstraction
- OS: Process scheduling and context switching
Projects:
Not asked in my case due to time constraints but some of my friends were been asked
HR Discussion:
- Where do you see yourself in 5 years?
I answered that I want to be in a position where my skills and continuous learning
make me hard to replace in the fast-changing tech industry, take ownership,
grow into leadership roles, and share my knowledge.(I just remember the same ans for every interview)
- Any question you want to ask?
I Asked why Infosys invests heavily in training freshers and how is the experience there.



- I answered that I want to be in a position where my skills and continuous learning
make me hard to replace in the fast-changing tech industry, take ownership,
grow into leadership roles, and share my knowledge.(I just remember the same ans for every interview)
- I asked why Infosys invests heavily in training freshers and how is the experience there.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which data structure is used to implement a DFS?