Tip 1: Practice from coding platforms to solve its medium-level problems.
Tip 2: Brush up computer fundamentals from subjects like OS, DBMS, and CN.
Tip 3: Good project or internship experience and in-depth work knowledge.
Tip 1: Have some projects on your resume.
Tip 2: Do not put false things on your resume



Input: 'n' = 3, 'm' = 4
'queries' = [[1, 1], [1, 2], [2, 3]]
Output: [1, 1, 2]
Explanation:
Initially, the grid was:
0 0 0 0
0 0 0 0
0 0 0 0
After query (1, 1):
0 0 0 0
0 1 0 0
0 0 0 0
There is one island having land (1, 1).
After query (1, 2):
0 0 0 0
0 1 1 0
0 0 0 0
Since (1, 1) and (1, 2) share a common edge, they form one island. So there is one island having lands (1, 1) and (1, 2).
After query (2, 3):
0 0 0 0
0 1 1 0
0 0 0 1
Now there are two islands, one having lands (1, 1) and (1, 2), and another having land (2, 3).
So the number of islands after each query is [1, 1, 2].
DFS using visited set.
Pros and cons of indexing in a database. (Learn)
Tip 1 : Prepare CS fundamentals.
Tip 2 : Prepare short notes on each topic.
What is the difference between Write-back and write-through cache? Which one should be preferred? (Learn)
Tip 1 : Read about caching and its implementation.


Tip 1 : Used dictionary to find the sum of the number.
What is pickling? (Learn)
Tip 1: Prepare your resume and update yourself.
Tip 2: If you have mentioned some of the latest technology, you should have a basic idea about that and go through the interview questions from that topic, which will be helpful to you.



The same letter cell should not be used more than once.
For a given word “design” and the given 2D board
[[q’, ‘v’, ‘m’, ‘h’],
[‘d’, ‘e’, ‘s’, ‘i’],
[‘d’, ‘g’, ‘f’, ‘g’],
[‘e’, ‘c’, ‘p’, ‘n’]]
The word design can be formed by sequentially adjacent cells as shown by the highlighted color in the 2nd row and last column.

This was a straightforward DFS problem solved by maintaining a visited set.



1. A binary tree is a tree in which each node has at most two children.
2. The given tree will be non-empty.
3. The given tree can have multiple nodes with the same value.
4. If there are no nodes in the tree which are at distance = K from the given node, return an empty list.
5. You can return the list of values of valid nodes in any order. For example if the valid nodes have values 1,2,3, then you can return {1,2,3} or {3,1,2} etc.

Consider this tree above. The target node is 5 and K = 3. The nodes at distance 1 from node 5 are {2}, nodes at distance 2 from node 5 are {1, 4} and nodes at distance 3 from node 5 are {6, 3}.
Tip 1 : First understand the problem statement very carefully.
Tip 2 : Make a short dry code on paper.
Tip 3 : Dry Run it Again.

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