Tip 1 : Practice as many questions as you can
Tip 2 : Have good knowledge about projects you added in resume
Tip 1 : Do not put false things on resume.
Tip 2 : Have some good projects on resume.
It was day time. Interviewer made a comfortable environment



Output the sum modulo 10 ^ 9 + 7.
If ‘X’ = 1, ‘Y’ = 1 and ‘Z’ = 0 then the output will be 84.
Explanation : 3 + 4 + 34 + 43 = 84
Step 1 : I first used 3 loops.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then I gave solution with sorting the array and using 2 pointer approach and interviewer was happy.



For Amount = 70, the minimum number of coins required is 2 i.e an Rs. 50 coin and a Rs. 20 coin.
It is always possible to find the minimum number of coins for the given amount. So, the answer will always exist.
Step 1 : I first used for loops. It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then I gave dp solution. He asked me to create DP table and explain every value and explain how I reached there. Finally the interviewer was happy.


1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
I gave BFS solution and explained every part and interviewer was happy.
Manager round
Asked HR questions. About my background, my knowledge about the company.

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