Tip 1 : If you are not able to see progress for a long time, don't leave because once you cross that phase you would see exponential growth in your skill.
Tip 2 : DataStructures and Algorithms are the most important thing to prepare for TOP MNCs.
Tip 3 : One should not neglect core CS fundamentals as many interviews are based on these.
Tip 1 : 1 Pager Resume
Tip 2 : try to add projects and experiences to your resume properly.
We were given 90 mins to solve 4 coding questions on the hackerrank platform. The questions were based on medium and hard-level leetcode questions.



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
The idea is to put all the opening brackets in the stack whenever you hit a closing bracket. Search if the top of the stack is the opening bracket of the same nature. If this holds then pop the stack and continue the iteration.
in the end if the stack is empty, it means all brackets are well-formed and return Balanced, else return Not Balanced.


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.
We can get the best price by making a cut at different positions and comparing the values obtained after a cut. We can recursively call the same function for a piece obtained after a cut.



N = 3
A = [ 3, 4, 5 ]
Explanation :
One of the optimal ways to play the game is :
Ninja removes 3 stones from the first pile : [ 0, 4, 5 ].
Friend removes 3 stones from the second pile : [ 0, 1, 5 ].
Ninja removes 3 stones from the third pile : [ 0, 1, 1 ].
Friend removes 1 stone from the second pile : [ 0, 0, 1 ].
Ninja removes 1 stones from the third pile : [ 0, 0, 0 ].
Thus Ninja wins the game here.



‘MEETINGS[]’ = {30, 15, 60}
Let us assume the meeting starts at 12:00 o’clock.
The first meeting takes 30 minutes so after the first meeting time is 12:30.
Then Ninja cannot attend the second meeting which is for 15 minutes because he needs 15 minutes break after every meeting.
After a 15 minutes break, he can attend the next meeting which is for 60 minutes.
So the total booked minutes for the meetings is 30 + 60 = 90.
used Dynamic Programming to solve this question.
in this round you were given the open-ended question and the main point was to write clean and production-ready code, also we were allowed to use google for any syntax reference if we want.



1. The helper function ‘knows’ is already implemented for you.
2. ‘knows(A, B)’ returns "false", if A doesn't know B.
3. You should not implement helper function ‘knows’, or speculate about its implementation.
4. You should minimize the number of calls to function ‘knows(A, B)’.
5. There are at least 2 people at the party.
6. At most one celebrity will exist.
In this round no questions were asked it was mostly a discussion round revolving around my resume, projects, and other co-curricular activities which I have done in my college. And judged me on the values of Atlassian.

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?