Tip 1: Regarding DSA preparation, I have a theory. Twenty percent of the questions will be asked in 80 percent of the interviews, and 80 percent will be asked in 20 percent. In short, some questions have a high chance of coming up during the interviews, and some have a very low probability. We should focus more on the questions that have more chance of coming up in the interview.
Tip 1: Make Sure your resume is simple, and also try to fit all the information on only one page.
Tip 2: Have at least two projects with the latest technologies. Github link of projects should be provided.



-> The graph consists of 'N' vertices.
-> The ith vertex has a value 'ARR[i]'.
-> There is an edge between two vertices 'i' and 'j' (where 'i' < 'j'), if and only if GCD('ARR[i]', 'ARR[j]') is greater than 1.
Used DSU and a bit of maths




Used recursion and DP



If the given string is S = "abcba", then the possible substrings are "abc" and "cba". As "abc" starts with a lower index (i.e. 0, "cba" start with index 2), we will print "abc" as our shortest substring that contains all characters of 'S'.
Used 2 pointer sliding window



Input: Consider the following Binary Tree:
Output:
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]



1. The array follows 0-based indexing, so you need to return the 0-based index of the element.
2. Note that the element at the equilibrium index won’t be considered for either left sum or right sum.
3. If there are multiple indices which satisfy the given condition, then return the left-most index i.e if there are indices i,j,k…. which are equilibrium indices, return the minimum among them
4. If no such index is present in the array, return -1.



The start time of one chosen meeting can’t be equal to the end time of the other chosen meeting.
'N' = 3, Start = [1, 3, 6], End = [4, 8, 7].
You can organize a maximum of 2 meetings. Meeting number 1 from 1 to 4, Meeting number 3 from 6 to 7.

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