Tip 1 : Start small and give yourself time to fully ingest the concepts, basics are very important and you can do any type of questions once your basics ae covered.
Tip 2 : Don't jump to prticipate in hackathons, start with GFG from basics array, string, linkedlist questions then move to advanced dsa such as tree, backtracking etc
Tip 3 : Do give mock interviews, they are very crucial part of the process, ask for feedback and learn from your mistakes
Tip 1: Try to be crisp and use numbers to show your achievements
Tip 2: If you got time, try to make personalised resume based on company theme
First Round was online coding round on leetcode, it was a 40 min test and copy pasting was not allowed. Alll cases for the test must be passed to get points. Questions was of easy to medium level. There were 2 questions on Array and linkedList



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Step 1: Start with the given array and the target sum.
Step 2: Initialize two pointers, left and right, pointing to the first and last elements of the array, respectively.
Step 3: Sort the array in non-decreasing order. You can choose an appropriate sorting algorithm such as merge sort or quicksort.
Step 4: While the left pointer is less than the right pointer, do the following steps:
Calculate the sum of the elements at the left and right pointers.
If the sum is equal to the target sum, return true as a pair with the given sum exists.
If the sum is less than the target sum, increment the left pointer to move towards larger elements.
If the sum is greater than the target sum, decrement the right pointer to move towards smaller elements.
Step 5: If no pair is found after exhausting all possible combinations, return false as no pair with the given sum exists in the array.



We have a linked list 1->2->3->4->5->6->7 and so on. You are supposed to swap pairs of a linked list like swap (1,2), (3,4), (5,6), and so on.
1. You may not modify the data in the list’s nodes; only nodes themselves may be changed. Because imagine a case where a node contains many fields, so there will be too much unnecessary swap.
2. If a pair of a node does not exist, then leave the node as it is.
Create a dummy node and set its next pointer to the head of the given linked list. This dummy node will serve as the new head of the modified linked list.
Initialize a pointer prev to the dummy node.
Traverse the linked list by pairs (every two adjacent nodes).
Initialize two pointers curr and next to track the current pair of nodes.
Set curr to the next node of prev and next to the next node of curr.
Swap the pair of nodes (curr and next).
Set the next pointer of prev to next to link the previous pair with the current pair.
Set the next pointer of curr to the next node of next to complete the swap.
Set the next pointer of next to curr to maintain the correct order of the nodes.
Move prev to the next pair of nodes.
Set prev to curr to move it to the current pair's end.
Repeat steps 2-4 until either curr or next becomes None (reached the end of the list or there's no next pair).
Return the modified head of the linked list, which is the next node of the dummy node.
During the video call interview round, I was assessed on my skills in Data Structures and Algorithms (DSA) as well as my knowledge of SQL. The interviewer presented coding questions related to DSA and gave me the opportunity to discuss my approach before writing the code. I focused on problem-solving, algorithmic thinking, and demonstrated my understanding of different data structures. In addition, I was asked SQL-related questions to test my proficiency in database querying and manipulation. Overall, the interview was a combination of DSA and SQL assessments to evaluate my technical abilities in these areas.



1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.
2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).
2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.
Step 1: I created a structure for the doubly linked list node with attributes like "key," "value," "prev," and "next" pointers.
Step 2: Then, I initialized a hash table (dictionary) to store the cache entries.
Step 3: When a new key-value pair is accessed, I first checked if the key is present in the hash table.
Step 4: If the key exists, I updated the value and moved the corresponding node to the front of the linked list to mark it as the most recently used.
Step 5: If the key doesn't exist, I created a new node, added it to the front of the linked list, and added the key-value pair to the hash table.
Step 6: If the cache size exceeded the specified capacity, I removed the least recently used node from the end of the linked list and also removed its entry from the hash table.
Step 7: To get a value from the cache, I checked if the key was present in the hash table. If so, I returned the corresponding value and moved the node to the front of the linked list.
Step 8: I handled the edge cases, such as when the cache is empty or when the capacity is set to zero.
Retrieve the details of customers who have placed orders in the last month, along with the corresponding order information.
Step 1: Identify the necessary tables and columns:
Tables: Customers, Orders
Columns: Customers.customer_id, Customers.customer_name, Orders.order_id, Orders.order_date
Step 2: Retrieve the orders placed in the last month:
Use the same steps as in the previous question to get the orders placed in the last month.
Step 3: Join the Customers and Orders tables:
Use the INNER JOIN keyword to combine the two tables based on the common column, which is Customers.customer_id and Orders.customer_id.
Include the join condition in the ON clause: Customers.customer_id = Orders.customer_id.
Step 4: Select the desired columns:
Choose the columns you want to retrieve from both tables, such as Customers.customer_id, Customers.customer_name, Orders.order_id, Orders.order_date.
Step 5: Apply any additional filters or sorting if required:
If you need to apply further conditions, use the WHERE clause.
If you want to sort the results, use the ORDER BY clause.
Step 6: Execute the SQL query and retrieve the results.
During the problem-solving round of my interview as a fresher SDE but it revloved around data, I was given a hypothetical scenario that required me to showcase my problem-solving skills. The interviewer presented me with a data-related challenge and observed how I approached and solved the problem. Interviewer ws friendly and helpful and also encouraging me to think out of the box.
How would you think you would solve the problem when you have a hue amount of data, given that you have n number of machines and you can process any data with any machine and whole interview ran around this only
Tip 1:Pay close attention to the puzzle's instructions and any given constraints. Make sure you fully understand what is expected of you before diving into the problem.
Tip 2: Break the puzzle into smaller components or sub-problems. This will help you tackle it step by step and prevent feeling overwhelmed. Identify any patterns or recurring elements that can guide your approach.
Tip 3:Take a moment to plan your strategy before jumping into solving the puzzle. Consider different techniques or algorithms that might be applicable, and decide on the best approach based on the given problem.
In this round HR asked me about my interests, why I think jumbotail is a good choice for me and why I would be a key player for them. They asked me about my previous experiences and why I decided to change my field from mechanical engineering to Software.
why I think jumbotail is a good choice for me and why I would be a key player for them. They asked me about my previous experiences
Tip 1: Study what company do and what are their core values and how they align with your goals
Tip 2: Show how your previous experience makes you a perfect candidate for this role
Tip 3: Be confindent and maintain a decent happy tone.
Why I decided to change my field from mechanical engineering to Software.
Tip 1: Give them honest answers which are related to your ambitions
Tip 2: don't add things like money and lifestyle
Tip 3: Try to align your values with software engineer

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