Tip 1 :Create a well-organized study plan that covers key topics systematically. Break down the material into manageable chunks and allocate specific time slots for focused learning.
Tip 2 : Apply your knowledge by working on small projects related to the skills you're learning. Building projects not only reinforces your understanding but also showcases your practical abilities to potential employers.
Tip 3 :Regularly participate in mock tests and mock interviews to simulate the actual exam or interview environment.
Tip 1: Having projects that align with your skillset.
The Written round consists of three major sections namely General Aptitude Test and Technical Ability Test and Coding Test. General Aptitude Test, has mathematical reasoning and logical reasoning and verbal ability part.
General aptitude and logical reasoning questions



Problem statement : Aman, who is working at a software company forgot the password of his Linkedin id.But he knows the ASCII values of his password in reverse order. Help aman to find the password.To decode the password, first reverse the string of digits, then successively pick valid values from the string and convert them to their ASCII equivalents. Some of the values will have two digits, and others three. Use the ranges of valid values when decoding the string of digits.Some of the ASCII values are given with their characters: The ASCII value of A to Z is 65 to 90. The ASCII value of a to z is 97 to 122. The ASCII value of space characters is 32.Note: The password only has alphabets and blank spaces.Given a string , decode the password by following the steps mentioned above.Constraints:1<= |s| <=10^5s[i] is an ascii character in the range [A-Za-z] or a space character
The input string s is taken from the user, and then it is reversed using s[::-1].
The while loop iterates through the reversed string, processing pairs of digits.
For each pair of digits, it checks conditions to determine the corresponding character based on ASCII values.
If the pair of digits is "32", it represents a space character, so a space is added to the result.
If the pair of digits is within the range of ASCII values for uppercase letters (A-Z) or lowercase letters (a-z), the corresponding character is added to the result.
If the pair of digits has three digits, it combines them and adds the corresponding character to the result.
The loop increments i accordingly to move to the next pair of digits.
The final decoded result is printed.



Amit is a salesman who wishes to know the maximum revenue received from a given item of the N products each day . Amit has a sales record of N products for M days.Helo amit to find the highest revenue received each day.Input : The first line of the input consists of two space-separated integers- day(M) and item(N) representing the days and the products in the sales record.The next M lines consist of N space separated integers representing the sales revenue from each product each day.Output: Print m space-separated integers representing the maximum revenue received each day .Example Input:3 4101 123 234 344143 282 499 493283 493 202 304Output:344 499 493
# Step 1: Input m and n
m = int(input()) # Takes an integer input for the number of rows
n = int(input()) # Takes an integer input for the number of columns
# Step 2: Initialize an empty list arr to store the 2D array
arr = []
# Step 3: Use nested loops to input elements for the 2D array
for i in range(0, m):
# Initialize an empty list for each row
ar = []
for j in range(0, n):
# Takes an integer input for each element in the row and appends it to the row list
ar.append(int(input()))
# Appends the row list to the 2D array
arr.append(ar)
# Step 4: Iterate through the 2D array and print the maximum value in each row
for i in arr:
# Prints the maximum value in each row followed by a space
print(max(i), end=" ")


Rocky is a software engineer and he is creating his own operating system called “myFirst os”. myFirst os is a GUI (Graphical user interface) based operating system where everything is stored in files and folders. He is facing issues on creating unique folder names for the operating system . Help rocky to create the unique folder name for it’s os.If folder name already exists in the system and integer number is added at the name to make it unique. The integer added starts with 1 and is incremented by 1 for each new request of an existing folder name. Given a list of folder names , process all requests and return an array of corresponding folder names.Example n=5foldername= [‘home’ , ‘myfirst’ ,’downloads’, ‘myfirst’, ‘myfirst’]
Foldername[0] = ‘home’ is unique.Foldername[1] = ‘myfirst’ is unique.
foldername [2] =’downloads’ is unique.Foldername[3] =’myfirst’ already exists in our system.So Add1 at the end of the folder name i.e foldername[3] =”myfirst1″.Foldername[4 ]=’myfirst’ also already exists in our system.So add 2 at the end of the folder name i.e. foldername[4]=”myfirst2″.
Function description.
Complete the function folderNameSystem In the editor belowfolderNameSystem has the following parametersstring foldername[n]: an array of folder name string in the order requestedReturns:String[n]: an array of strings usernames in the order assignedConstraints 1<=n<=10^4 1<=length of foldername[i]<20 foldername[i] contains only lowercase english letter in the range ascii[a-z]Input Format:The first line contains an integer n , denoting the size of the array usernames Each line i of the n subsequent lines (where i<=0<=n) contains a string usernames[i] representing a username request in the order received.Sample case 04home downloadfirstfirst Sample Output 0 homedownloadfirstfirst1 Explanation 0 foldername[0] = ‘home’ is unique foldername[1]=’download’ is unique foldername[2]= ‘first’ is unique foldername[3]=’first’ is already existing . so add 1 to it and it become first1
Input the value of n:
Read an integer input for the value of n.
Initialize an empty list arr:
Create an empty list named arr to store input strings.
Populate the arr list with n input strings:
Use a loop to iterate n times, taking input strings and appending them to the arr list.
Print a new line:
Print a new line to separate the input and output sections.
Iterate through the elements of arr and process each string:
Use another loop to iterate through each element of the arr list.
For each element, check if the count of the current element in the substring arr[:i+1] is greater than 1.
If true, update the variable ans with the current element and the count of its occurrences in the substring minus 1.
If false, keep ans as the current element.
Print the value of ans for each iteration.
Willing to Relocate?

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