Tip 1 : Be Consistent.
Tip 2 : Believe in Yourself.
Tip 3 : Participate honestly in contests on the internet to improve speed and accuracy.
Tip 1 : Don't put false things.
Tip 2 : Create job specific Resumes and projects related to role you are applying for.



Let the array 'ARR' be [1, 2, 3] and 'B' = 5. Then all possible valid combinations are-
(1, 1, 1, 1, 1)
(1, 1, 1, 2)
(1, 1, 3)
(1, 2, 2)
(2, 3)
1. Used recursion to recursively calculate ans.
2. Used backtracking to calculate all possible combinations ans.



A leaf of a Binary Tree is the node which does not have a left child and a right child.
Given a binary tree :

All the root to leaf paths are :
1 2 4
1 2 5
1 3
1. Two nodes may have the same value associated with it.
2. The root node will be fixed and will be provided in the function.
3. Note that the nodes in a path will appear in a fixed order. For example, 1 2 3 is not the same as 2 1 3.
4. Each path should be returned as a string consisting of nodes in order and separated by a space.
5. The path length may be as small as ‘1’.
Used DFS
Video call in which I was asked to solve 1 coding problem, then DSA discussion and then OOPS concepts.



An island is a 4-directionally (North, South, East, West) connected group of 1s.
Input: 'grid' = [[1,0],
[0,1]]
Output: 3
Explanation:
We can change the 0 at (0,1) to 1 and get an island of size 3.
1. Used DFS to traverse.
2. Updated max area variable after traversing every island.
Discuss ACID properties of DBMS.
Tip 1 : Practice questions on the internet.
Tip 2 : Read about DBMS and OOPS and understand their importance.

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?