Tip 1 : Give contest as much you can, this will boost your confidence
Tip 2 : Do at least 3 projects, in order of low, medium and high difficulty, most questions will be asked from top 2.
Tip 3 : Do what works for you, don't look for ideal cases
Tip 1 : 3 Projects must be there, in order of low, medium and high. Frontend, Backend and Full Stack project creates great impact
Tip 2 : Must be clean, don't make fancy resume, HackerResume is a great choice for Resume.



Input: 'arr' = [1, 2, 1, 2, 1]
Output: 3
Explanation: The longest bitonic subsequence for this array will be [1, 2, 1]. Please note that [1, 2, 2, 1] is not a valid bitonic subsequence, because the consecutive 2's are neither strictly increasing, nor strictly decreasing.



You are given, ‘arr’ = [1, 2, 4], ‘K’ = ‘5’, You have the natural numbers as [1, 2, 3, 4, 5, 6, 7 .. ], after removing all the integers in the array from natural numbers, we have, [3, 5, 6, 7, 8]. Here 8 is the 5th smallest number. Hence the answer is 8.



If the given string is “aaBBccc” then the frequency of characters: { a:2, B:2, c:3 }. Now, as ‘a’ and ‘B’ both have the same frequency 2, we need to delete one character either one ‘a’ or one ‘B’, to make their frequency different. After deleting any character we will get frequency as 1,2 and 3, as they all are different. Thus we got our solution as 1.
As we are only allowed to delete the character, thus the resulting string after deletion of some character would be the subsequence of the string. So, we have to find such a subsequence which has the unique frequency of each character.
Initialise a variable ‘ans’ that will store the minimum number of characters that are needed to remove from the string. Create all the subsequences of the string and check whether it satisfies the condition, simultaneously update the ‘ans’ with the minimum of ‘ans’ and ('N' - length of subsequence). Finally, return the ‘ans’.



This is the most famous problem, This is Dynamic Programming problem, I tried all the possibilities and taking the minimum to it, 1D array is used for caching the results.
How would you go about Designing Instagram?
What would your DB Scheme look like?
What would your query look like for fetching all recent photos of the given user?
How would you write the query for fetching all photos, for a user feed?
Tip 1 : Watch some videos on Youtube and Practise SQL
Tip 2 : It's a Database Design, check previous Interview Experience and prepare accordingly
Tip 3 : Do checkout the System Design Guided Vertical on Coding Ninjas. It's very helpful while preparing for interviews.
How would you go about solving Rubik’s Cube? (Only Approach)
Solve for steps needed to reach the solved state of the cube
Data Structure you will use
Algorithmic Paradigm
Time Complexity
Tip 1 : Most problems can be solved using Graph, so you can say Graph
Tip 2 : You have to try all combinations, so it's a factorial thing
Tip 3 : Brute force, means Recursive Paradigms



F(n) = F(n - 1) + F(n - 2),
Where, F(1) = 1, F(2) = 1
"Indexing is start from 1"
Input: 6
Output: 8
Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
1) Explain Garbage Collection in Java, which algorithm is used for Garbage Collection?
2) Explain Function Programming in Java? Does it support higher-order functions?
3) What are Singleton Objects?
4) What do you understand by Composition in OOPS?
5) What is Aggregation in OOPS?
Tip 1 : Read Interview Questions, you can follow sites like CodeStudio and LeetCode for this
Tip 2 : They will ask for language preference, so prepare well your Programming Language
1) How would you go about building API’s in Java?
2) What is JVM?
Tip 1 : Read Interview Questions, you can follow sites like CodeStudio and LeetCode for this
Tip 2 : Prepare Java well
This is a cultural fitment testing round. HR was very frank and asked standard questions.
Tell me something not there in your resume.
If you get this question, it's an opportunity to choose the most compelling information to share that is not obvious from your resume.
Example :
Strength -> I believe that my greatest strength is the ability to solve problems quickly and efficiently, which makes me unique from others.
Ability to handle Pressure -> I enjoy working under pressure because I believe it helps me grow and become more efficient.
Tip : Emphasize why you were inspired to apply for the job. You can also explain that you are willing to invest in a great deal of energy if hired. These are generally very open-ended questions and are asked to test how quick wit a candidate is. So there is nothing to worry about if you have a good command over your communication skills and you are able to propagate your thoughts well to the interviewer.

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?