Tip 1 : Learn the most important topics on GeeksForGeeks
Tip 2 : Practice said topics on InterviewBit
Tip 3 : Practice on LeetCode with random questions.
Tip 1 : Go in detail with your projects
Tip 2 : Select a modern template
Low Level Design, They asked me to design a Production ready Snake and Ladder Game.



For a (6 x 6) board, the numbers are written as follows:

You start from square 1 of the board (which is always in the last row and first column). On each square say 'X', you can throw a dice which can have six outcomes and you have total control over the outcome of dice throw and you want to find out the minimum number of throws required to reach the last cell.
Some of the squares contain Snakes and Ladders, and these are possibilities of a throw at square 'X':
You choose a destination square 'S' with number 'X+1', 'X+2', 'X+3', 'X+4', 'X+5', or 'X+6', provided this number is <= N*N.
If 'S' has a snake or ladder, you move to the destination of that snake or ladder. Otherwise, you move to S.
A board square on row 'i' and column 'j' has a "Snake or Ladder" if board[i][j] != -1. The destination of that snake or ladder is board[i][j].
You can only take a snake or ladder at most once per move: if the destination to a snake or ladder is the start of another snake or ladder, you do not continue moving - you have to ignore the snake or ladder present on that square.
For example, if the board is:
-1 1 -1
-1 -1 9
-1 4 -1
Let's say on the first move your destination square is 2 [at row 2, column 1], then you finish your first move at 4 [at row 1, column 2] because you do not continue moving to 9 [at row 0, column 0] by taking the ladder from 4.
A square can also have a Snake or Ladder which will end at the same cell.
For example, if the board is:
-1 3 -1
-1 5 -1
-1 -1 9
Here we can see Snake/Ladder on square 5 [at row 1, column 1] will end on the same square 5.
Step 1 : Gather requirements
Step 2 : Discuss Design constructs
Step 3 : Implement said requirements and design.
Noon



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Step 1 : discussed brute-force approach
Step 2 : discussed optimized approach with positive and negative number line.
Step 3 : implemented the optimized approach.
Evening
Describe the architecture of the projects I had mentioned in my resume and discuss various design choices made.
Tip 1 : Gather Requirements extensively
Tip 2 : Do some rudimentary scale calculations to help in design decisions
Tip 3 : Each design choice should be deliberate and well though out.

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