Tip 1: Practice at Least 250 Questions:
Practice is essential for mastering any skill or subject. When it comes to subjects involving problem-solving, such as mathematics, programming, or even certain sciences, practice helps solidify concepts and improve problem-solving abilities. By solving a minimum of 250 questions, learners can expose themselves to various scenarios, thereby enhancing their understanding of different problem types and their corresponding solutions.
Tip 2: Do at Least 2 Projects:
Projects are a great way to apply theoretical knowledge in a practical context. They help individuals develop a deeper understanding of concepts, learn to work through challenges, and gain experience in real-world scenarios. Undertaking at least two projects ensures that learners engage with different aspects of the subject matter. This can include working individually or in a team, managing project timelines, and dealing with unexpected issues that may arise during project development.
Tip 1: Have Some Projects on Your Resume: Including projects on your resume showcases your practical skills and demonstrates your ability to apply theoretical knowledge to real-world scenarios. Projects can highlight your problem-solving skills, creativity, and your capacity to complete tasks from start to finish. They can also provide talking points during interviews, allowing you to discuss your experiences, challenges faced, and solutions implemented. Whether personal projects, open-source contributions, or coursework-related assignments, projects can make your resume more appealing to potential employers.
Tip 2: Do Not Put False Information on Your Resume: Honesty is vital when crafting a resume. Falsifying information, such as skills, experiences, or qualifications, can have serious consequences, damaging your reputation and credibility. Employers may discover discrepancies during background checks or interviews, which can lead to immediate disqualification from job opportunities. Instead of exaggerating or fabricating credentials, focus on presenting your actual achievements, skills, and experiences. If there are gaps in your resume, address them honestly and highlight your willingness to learn and grow.
There was 2 problem solving question based on tree and LinkList



Let ‘TREE’ be a binary tree. The lowest common ancestor of two nodes, ‘N1’ and ‘N2’, is defined as the lowest node in ‘TREE’ with ‘N1’ and ‘N2’ as descendants (where we allow a node to be a descendant of itself).
The idea is to traverse the tree starting from the root. If any of the given keys (n1 and n2) matches with the root, then the root is LCA (assuming that both keys are present). If the root doesn’t match with any of the keys, we recur for the left and right subtree.
The node which has one key present in its left subtree and the other key present in the right subtree is the LCA.
If both keys lie in the left subtree, then the left subtree has LCA also,
Otherwise, LCA lies in the right subtree.



Input : 1 -> 2 -> 3 -> 4 -> 'NULL' and 'K' = 2
Output: 1 -> 2 -> 4 -> 'NULL'
Explanation:
After removing the second node from the end, the linked list become 1 -> 2 -> 4 -> 'NULL'.

The interviewer started with basic introduction and then moved to discussing 2 coding problems.


The problem can be solved using simple recursive traversal. We can keep track of level of a node by passing a parameter to all recursive calls. The idea is to keep track of maximum level also. And traverse the tree in a manner that right subtree is visited before left subtree. Whenever, we see a node whose level is more than maximum level so far, we print the node because this is the last node in its level




1. You are not required to print the output explicitly, it has already been taken care of. Just implement the function and return the ‘K-th’ smallest element of BST.
2. You don’t need to return ‘K-th’ smallest node, return just value of that node.
3. If ‘K-th’ smallest element is not present in BST then return -1.
The Inorder Traversal of a BST traverses the nodes in increasing order. So, the idea is to traverse the tree in Inorder. While traversing, keep track of the count of the nodes visited. If the count becomes k, print the node.
How do you feel about working nights and weekends?
Can you work under pressure?
Are you willing to relocate or travel?
What are your goals?

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