Tip 1 : Be confident while answering questions
Tip 2 : Make the interview conversational and Always keep a smiling face
Tip 3 : Ask something at the end of the interview which shows your interest in the company
Tip 4 : Prepare projects on the skills mentioned in the resume
Tip 1 : Mention projects and internships.
Tip 2 : Keep your resume short and crisp.
Online test which can be attempted anytime between 22 May 2020, 06:00 AM and 25 May 2020, 01:00 AM


Infix expression: A + B * C - D
Postfix expression: A B + C D - *
1. Operators will only include the basic arithmetic operators like '*', '/', '+', and '-'.
2. The operand can contain multiple digits.
3. The operators and operands will have space as a separator between them.
4. There won’t be any brackets in the postfix expression.
Create a stack to store operands
Scan the given expression
-> If the element is a number, push it into the stack
-> If the element is an operator, pop operands for the operator from the stack. Evaluate the operator and push the result back to the stack
In the end, the number in the stack is the final answer



As the answer can be large, return your answer modulo 10^9 + 7.
Can you solve this using not more than O(S) extra space?
June 25 2020
Timing: 12:00 pm to 1:00 pm
This round was completely devoted to coding. I was asked to introduce myself and then 2 coding questions were asked.



1. The array follows 0-based indexing, so you need to return 0-based indices.
2. If 'x' is not present in the array, return {-1 -1}.
3. If 'x' is only present once in the array, the first and last position of its occurrence will be the same.
Input: arr = [1, 2, 4, 4, 5], x = 4
Output: 2 3
Explanation: The given array’s 0-based indexing is as follows:
1 2 4 4 5
↓ ↓ ↓ ↓ ↓
0 1 2 3 4
So, the first occurrence of 4 is at index 2, and the last occurrence of 4 is at index 3.
Firstly, I used binary search to find the element and the used linear search from that index to find the range
Interviewer asked me to optimise the solution.
Then, I used binary search 2 times to find lower bound and upper bound of element.

1. You have only one key. And a key once used is exhausted and no more available with you during the journey through that path in a maze.
2. A cell with value 1, means the door or path is closed. And you have to spend a key to open the door/ reach that cell.
3. A cell with value 0, means that the cell is free to move / door is always open.
4. Top left cell in the maze and bottom-right cell in the maze may also have a door.
5. Downwards movement: From cell (i, j) to (i, j+1).
6. Rightwards movement: From cell (i, j) to (i+1, j).
9th July 2020
6:30PM to 7:30PM
Created a directed and weighted graph with weights equal to the ratio value
Also direct the edges of graphs opposite ways by rearranging ratio
Traversed the graph and multiplied values in the way to get the answer.
23-July 2020
4:00 PM to 5:00 PM
Coding questions + Several questions on computer fundamentals and networking were asked in a rapid-fire manner.



You may make as many transactions as you want but can not have more than one transaction at a time i.e, if you have the stock, you need to sell it first, and then only you can buy it again.
Naive approach: A simple approach is to try buying the stocks and selling them on every single day when profitable and keep updating the maximum profit so far.
Efficient approach: Find the local minima and store it as starting index. If not exists, return.
Find the local maxima. and store it as ending index. If we reach the end, set the end as ending index.
Update the solution (Increment count of buy sell pairs)
Repeat the above steps if end is not reached.
Stored all profits
Sorted in reverse order
Sum k most profitable values
If we have our services over several locations, how do we reduce the latency for retrieving data?
What are the types of cache?
Difference between thread and process. Which one is light-weight among thread and process and why?
What happens when we type a URL on our browser?
How servers handle a large amount of load?
Networks among systems are centralized or peer to peer?
6- Aug 2020
3:00 PM to 4:00 PM
Resceduled to: @5:30 PM
Projects, Fundamentals check, Behavioral, Coding
Personal projects + projects completed during internships.
Difference between list and tuple
Difference between deep copying and shallow copying
Overloading and overriding, given 2 examples of overriding , tell why or why not overriding concept will fail here.
Tell me about a time when you have faced some challenging situation in your past (during any project or internship) and how I tackled the situation.



1. Include the source node as a destination also.
2. There are no cycles in the given graph.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?