Tip 1: Choose one Object Oriented Language, either Java or C++, and stick to it. Practice DSA through that particular language and do code studio also.
Tip 2: Practice core subjects like DBMS, SQL, OS, etc.
Tip 3: Try participating in Competitive Programming contests.
Tip 4: Please do Development and build at least three projects.
Tip 1: At least two full stack projects
Tip 2: Use ATS friendly resume and try to introduce yourself well in the resume.
Timing: 9AM to 10:30 AM
Mode: Online from Home only
Platform: Infosys's own platform (don't know name)
Difficulty: Medium



'arr '= [1,2,3,4,5]
'k' = 1 rotated array = [2,3,4,5,1]
'k' = 2 rotated array = [3,4,5,1,2]
'k' = 3 rotated array = [4,5,1,2,3] and so on.
Step 1: First I store the elements from index d to N-1 into the temp array.
Step 2: Then store the first d elements of the original array into the temp array.
Step 3: Copy back the elements of the temp array into the original array



Step 1: Created array of 26
Step 2: Store frequency using Array[character - 'a'] formula
Step 3: Just printed the array
Timing: 12 PM - 3 PM
Difficulty: Hard
Environment: Online
Questions Asked: mostly on DP, Greedy and String



Consider ARR = [“coding”, ”codezen”, ”codingninja”, ”coders”]
The longest common prefix among all the given strings is “cod” as it is present as a prefix in all strings. Hence, the answer is “cod”.
Step 1: These types of questions can be solved using recursion.
Step 2: Tried to break the problem in to the smaller problems
Step 3: Wrote base case for the smaller problem



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
Step 1: Created 3 variables for 0, 1 and 2.
Step 2: Count frequency of al three and store in those variables
Step 3: using while loop printed the 0, 1 and 2



Step 1: Its a DP problem, known as LCS
Step 2: tried to substitute the problem in to smaller problem
Step 3: built base case
Step 4: Then solved it using DP
TIming: 1 PM to 1:45 PM was scheduled but mine went till 2:30 PM
Difficulty: Medium
Mode: Online


1. The sizes will range from 1 to ‘N’ and will be integers.
2. The sum of the pieces cut should be equal to ‘N’.
3. Consider 1-based indexing.
This problem is very similar to the Unbounded Knapsack Problem, where there are multiple occurrences of the same item. Here the pieces of the rod. Now I will create an analogy between Unbounded Knapsack and the Rod Cutting Problem.
1. Asked questions on SQL queries
2. Types of database
Tip 1: Read core subjects

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL clause is used to specify the conditions in a query?