Tip 1 : At least all standard DSA questions you must have done before appearing in an interview.
Tip 2 : Must go through all the basics concepts of OOPS, DBMS, Operating system, Computer Networks.
Tip 3 : whatever the project you have mentioned in your resume make sure you have clarity in the tech stack used.
Tip 1: Keep your resume clean and well-organized with clear headings and sections.
Tip 2: Consider including additional sections such as extracurricular activities, leadership roles, volunteer experience, or relevant hobbies/interests if they add value to your application.
Online Assessment (OA) rounds consist of 2 DSA questions and 10 multiple-choice questions covering aptitude and core subjects, with a major focus on operating systems.
Q1: Based on Binary search
Q2: Based on BFS



Input: ‘arr’ = [1, 1, 2] and ‘k’ = 2
Output: 2
Explanation: If we want to make two subarrays, there are two possibilities: [[1], [1, 2]] and [[1, 1], [2]]. We can see that the maximum sum of any subarray is minimized in the second case. Hence, the answer is 2, which is the maximum sum of any subarray in [[1, 1], [2]].
Idea is to use Binary Search to find an optimal solution. For binary search, the minimum sum can be 1 and the maximum sum can be the sum of all the elements. To check if the mid is the maximum subarray sum possible, maintain a count of sub-arrays; include all possible elements in a subarray until their sum is less than mid. After this evaluation, if the count is less than or equal to K, then mid is achievable; otherwise, it is not. (Since if the count is less than K, we can further divide any subarray; its sum will never increase mid). Find the minimum possible value of mid which satisfies the condition.



The Interviewer asked 3 DSA questions and a few questions from the operating system.



If the given array is [ 2, 3, 1], we need to return [1, 1, -1]. Because for 2, 1 is the Next Smaller element. For 3, 1 is the Next Smaller element and for 1, there is no next smaller element hence the answer for this element is -1.
Step 1: I initially solved the problem using the brute-force approach, utilizing two nested loops with a time complexity of O(N^2).
Step 2: Interviewer asked me to optimize the solution.
step 3: However, I later implemented an optimized approach based on the stack concept, which reduced the time complexity to O(n).



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: Initially I solved the problem using the brute-force approach, which involved employing three nested loops to generate all possible triplets. Within each iteration, I compared the sum of every triplet with the given value. This approach had a time complexity of O(N^3).
Step 2: Interviewer asked me to optimize the solution.
Step 3: optimized approach by sorting the array and then traversing it. I fixed the first element of the triplet and implemented the Two Pointers algorithm to determine if there exists a pair whose sum is equal to the target minus the value of the fixed element (target - arr[i]). This optimized approach significantly improved the time complexity to O(N^2).



You may assume that duplicates do not exist in the given traversals.
For the preorder sequence = [1, 2, 4, 7, 3] and the inorder sequence = [4, 2, 7, 1, 3], we get the following binary tree.

1) Pick an element from Preorder. Increment a Preorder Index Variable (preIndex in below code) to pick the next element in the next recursive call.
2) Create a new tree node tNode with the data as the picked element.
3) Find the picked element’s index in Inorder. Let the index be inIndex.
4) Call buildTree for elements before inIndex and make the built tree as a left subtree of tNode.
5) Call buildTree for elements after inIndex and make the built tree as a right subtree of tNode.
6) return tNode.
What is CPU scheduling? (Learn)
In this round interviewer asked DSA related questions and Project related questions



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

Step 1: slow and fast pointer approach.
Step 2: The Interviewer asked me to dry-run a few test cases.
Step 3: Interviewer asked me about Floyd's algorithm.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
I have developed a portal project for my college Placement Cell. We had a detailed discussion about it for 15 minutes.
It takes around 40-50 min.
Started with the general introduction.
Given a problem statement by the interviewer.
Introduce yourself.
Given a hypothetical scenario: envision being the CEO/CTO of a startup similar to Instagram and tasked with launching the product in Tier 3-4 cities. The challenge is to enhance customer reach solely through organic promotion.
Why do you want to start your career at Tekion?
What difficulties did you face while making your final year project?

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?