Tip 1: Maintain a strong LinkedIn profile.
Tip 2: Prepare Python coding questions.
Tip 1: Better to add something unique to your resume.
Tip 2: Have good internship or full-time experiences mentioned in the resume
This round was conducted on the Hackerrank platform and had 10 questions that needed to be attempted in 90 minutes.
What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
Tip 1: Keep pen and paper by your side.
Tip 2: Practice Python coding questions.
Which module in the Python standard library parses options received from the command line?
Amongst which of the following is/are the method of the list?
Tip 1: Study Python MCQs available on the internet.
Tip 2: Read the question carefully.
What will be the output of the following Python code?
print('*', "abcde".center(6), '*', sep='')
Tip 1: Keep pen and paper by your side.
Tip 2: Practice Python coding questions.



If a particular job has a deadline 'x', it means that it needs to be completed at any time before 'x'.
Assume that the start time is 0.
'N' = 3, Jobs = [[1, 1, 30], [2, 3, 40], [3, 2, 10]].
All the jobs have different deadlines. So we can complete all the jobs.
At time 0-1, Job 1 will complete.
At time 1-2, Job 3 will complete.
At time 2-3, Job 2 will complete.
So our answer is [3 80].
Step 1: Sort the list of jobs based on their end times in ascending order.
Step 2: Initialize an empty list to store the selected jobs for Anirudh and a variable to keep track of the total earnings for Anirudh.
Step 3: Iterate through the sorted list of jobs:
a) If the current job doesn't overlap with any previously selected job's period, add it to the list of selected jobs for Anirudh and update the total earnings.
Step 4: The remaining jobs (not selected for Anirudh) and their total earnings are available for other employees.



Two strings are said to be anagram if they contain the same characters, irrespective of the order of the characters.
If 'STR1' = “listen” and 'STR2' = “silent” then the output will be 1.
Both the strings contain the same set of characters.
The interview was smooth. It was a 60-minute-long interview based mostly on Python, Machine Learning, and data structures. It was conducted from 3 p.m. to 4 p.m.



1. It is an integer starting from 1.
2. The larger the element, the larger the rank. If two elements are equal, their rank must be the same.
3. It should be as small as possible.
'ARR' = [4, 7, 2, 90]
Here, 2 is the smallest element, followed by 4, 7, and 90.
Hence rank of element 2 is 1, element 4 is 2, element 7 is 3, and element 90 is 4.
Hence we return [2, 3, 1, 4].
Step 1: Initialize the input array, let's call it arr.
Step 2: Create a sorted copy of the array arr to get the unique elements and sort them in ascending order. Let's call this sorted array sorted_arr.
Step 3: Create a dictionary, let's call it rank_dict, to store each unique element as keys and their corresponding ranks in the sorted array as values.
Step 4: Initialize an empty list, let's call it result_array, to store the result.
Step 5: Iterate through each element in the arr:
a) Replace the element with its rank from the rank_dict.
b) Append the updated element to the result_array.
Step 6: The result_array now contains the original array with each element replaced by its rank.
Tip 1: Study list and tuple in Python
Tip 2: Answer confidently
Tell me about your experience from a previous internship/ full-time job.
Tip 1: Tell all the major things you have done till now and which will be helpful for this job.
Tip 2: Answer confidently.
How do you access parent members in the child class?
Tip 1: Study inheritance in detail
Tip 2: Hear the question carefully.

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