Tip 1: Even if you are stuck on a problem, give it a try. The interviewer will help you.
Tip 2: Prepare Data Structures and Algorithms well. They mainly check your problem-solving ability to find solutions for real-world problems.
Tip 3: Be confident and don't be nervous. Maintain at least two projects on your resume.
Tip 1: Mention at least two projects.
Tip 2: Highlight the skills in which you excel.
Tip 3: Ensure your resume is not too long or too short.



A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.
You can also assume that there will be only one sudoku solution for the given matrix.



In the given linked list, there is a cycle, hence we return true.




For the given string “what we think we become”
“what”,” think”, and “become” occurs 1 time, and “we” occurs 2 times in the given string.
Linear search solution was not working there as they are expecting less than O(n) complexity, so I solved this using binary search by finding the first and the last occurrence of element and subtracting them which will give the required answer.



If A = [3, 2, 3], and K = 2.
Then max of [3, 2] = 3 and max of [2, 3] = 3
So, the answer will be [3, 3]
If A = [3, 2, 3, 5, 1, 7] and K = 3.
Then max of [3, 2, 3] = 3
Then max of [2, 3, 5] = 5
Then max of [3, 5, 1] = 5
Then max of [5, 1, 7] = 7
So the answer will be [3, 5, 5, 7]
Can you solve the problem in O(N) time complexity and O(K) space complexity?

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