Filter interviews by
I applied via campus placement at National Institute of Technology, (NIT), Nagaland and was interviewed before Sep 2022. There were 2 interview rounds.
DSA SHOULD BE DONE DEEPLY AND
OOPS stands for Object-Oriented Programming. It is a programming paradigm that uses objects and classes for code organization and reusability.
OOPS allows for better code organization and reusability through the use of classes and objects.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Examples of OOPS languages include Java, C++, and Python.
DBMS stands for Database Management System. It is used to manage and organize data efficiently. It provides data security, integrity, and easy access.
DBMS helps in organizing and managing data efficiently.
It ensures data security and integrity by providing access control and data encryption.
DBMS allows for easy retrieval and manipulation of data through query languages like SQL.
Examples of DBMS include MySQL, Oracle, a
DSA stands for Data Structures and Algorithms. Web development is the process of creating websites and web applications.
DSA involves organizing and storing data efficiently for quick access and manipulation
Web development includes front-end (client-side) and back-end (server-side) development
Examples of DSA include arrays, linked lists, and sorting algorithms
Examples of web development technologies include HTML, CSS, J
Sieve of Eratosthenes is an algorithm for finding all prime numbers up to a given limit.
Algorithm eliminates multiples of each prime number starting from 2
Remaining numbers are prime
Example: Finding prime numbers up to 30 - 2, 3, 5, 7, 11, 13, 17, 19, 23, 29
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
2medium level questions
I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.
Leet code questions. Basic Questions was easy
To find a new array where each element is the product of all elements in the original array except the element at that index without using division operator.
Iterate through the array and calculate the product of all elements to the left of the current index for each element.
Iterate through the array in reverse and calculate the product of all elements to the right of the current index for each element.
Multiply the resu...
Search for an element in a sorted 2D array and return its index if found
Start from the top right corner and compare the target element with the current element
If the target is smaller, move left; if larger, move down
Repeat until the element is found or all elements are checked
Basic maths , physics and core subjects and e.t.c
Basic coding array, strings , linked list , stack , queue
Adobe interview questions for designations
Binary search tree algorithm based questions
Get interview-ready with Top Adobe Interview Questions
Count number of Climb stairs
I applied via LinkedIn and was interviewed before Sep 2023. There were 3 interview rounds.
Work life balance among employees
Find the number of unique paths in a grid from top left to bottom right
Use dynamic programming to store the number of paths to each cell
At each cell, the number of paths is the sum of paths from the cell above and the cell to the left
Example: For a 3x3 grid, there are 6 unique paths
Find the maximum product of a subarray within an array of strings.
Iterate through the array and keep track of the maximum product so far
Consider both positive and negative numbers in the subarray
Handle edge cases like all negative numbers or empty array
I applied via Campus Placement
Regular one nothing much to specify (1dp , 2 normal questions)
Discussed about my project based on django
I was interviewed in Jun 2021.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 questions of DSA . Both the questions were from Linked Lists. I was first asked to explain my approach and then code up the both the problems.
1. If there is no middle node in the list to delete, return an empty l...
The task is to delete the middle node of a singly linked list of integers.
If the linked list is empty or has only one node, there is no middle node to delete.
To delete the middle node, we need to find the middle node and update the pointers of the previous and next nodes.
To find the middle node in one traversal, we can use two pointers - a slow pointer and a fast pointer.
The slow pointer moves one node at a time, while...
The give...
The task is to merge two sorted linked lists into a single sorted linked list.
Create a new linked list to store the merged list
Compare the values of the nodes from both lists and add the smaller value to the new list
Move the pointer of the list with the smaller value to the next node
Repeat the comparison and addition until one of the lists is empty
Add the remaining nodes from the non-empty list to the new list
Return th
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 coding questions , the first one was related to Sorting and the second one was related to Compilers and C++ in general to check endianess of the machine actually . After the coding questions, I was asked some concepts related to OOPS in general.
The task is to find the length of the shortest contiguous subarray that needs to be sorted in order to sort the entire array.
Iterate through the array from left to right and find the first element that is out of order.
Iterate through the array from right to left and find the first element that is out of order.
Find the minimum and maximum elements within the subarray defined by the above two elements.
Expand the subarray...
The task is to swap each even bit of an integer with its adjacent bit on the right in its binary representation.
Convert the given integer to its binary representation
Iterate through the binary representation and swap each even bit with its adjacent bit on the right
Convert the modified binary representation back to an integer
Print the resulting integer
What are Virtual Destructors in C++?
Virtual destructors in C++ are used to ensure that the correct destructor is called when deleting an object through a pointer to its base class.
Virtual destructors are declared in the base class and are used when deleting an object through a pointer to the base class.
They allow proper destruction of derived class objects.
Without virtual destructors, only the base class destructor would be called, leading to memory leak...
Round duration - 50 Minutes
Round difficulty - Medium
Standard DS/Algo round with 2 questions . First I explained my approach and then we discussed some Edge Cases along with proper Complexity Analysis.
This is a problem where a sorted array is rotated and we need to search for given numbers in the array.
The array is rotated clockwise by an unknown amount.
We need to perform binary search to find the index of the given numbers.
If the number is found, return its index. Otherwise, return -1.
The time complexity of the solution should be O(logN).
The question asks to implement quick sort algorithm to sort an array of integers in ascending order.
Quick sort is a divide and conquer algorithm
Choose a pivot point and partition the array into two parts
Recursively sort the left and right parts of the array
Implement the quick sort algorithm to sort the given array
Round duration - 60 minutes
Round difficulty - Medium
This round went for about 50-60 minutes where I had to code two questions related to DSA after discussing their approaches and time and space complexities and then I was asked some questions revolving around OOPS and OS . The interviewer was quite freindly and helped me at some places where I was facing some difficulties.
The task is to find the lowest common ancestor (LCA) of two given nodes in a binary search tree (BST).
The LCA is the lowest node that has both given nodes as descendants.
In a BST, the left subtree of a node contains only nodes with data less than the node's data, and the right subtree contains only nodes with data greater than the node's data.
Start from the root node and compare it with the given nodes. If both nodes a...
The first line contains an integer 'T' which denotes the numb...
The task is to return the spiral path of a given matrix.
Iterate through the matrix in a spiral pattern, starting from the outermost layer and moving towards the center.
Keep track of the current row, column, and the boundaries of the remaining unvisited matrix.
Print the elements in the spiral path as you traverse the matrix.
What is Diamond Problem in C++ and how do we fix it?
The Diamond Problem is a conflict that occurs when a class inherits from two classes that have a common base class.
The Diamond Problem arises in multiple inheritance.
It occurs when a class inherits from two classes that have a common base class.
This leads to ambiguity in accessing the common base class members.
To fix the Diamond Problem, virtual inheritance is used.
Virtual inheritance ensures that only one instance of
What are the different types of semaphores ?
Semaphores are synchronization primitives used in operating systems to control access to shared resources.
Binary semaphore: Can take only two values, 0 and 1. Used for mutual exclusion.
Counting semaphore: Can take any non-negative integer value. Used for resource allocation.
Mutex semaphore: A binary semaphore used for mutual exclusion.
Named semaphore: A semaphore that can be accessed by multiple processes.
Unnamed semap...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed in Jan 2021.
Round duration - 40 minutes
Round difficulty - Easy
It was in the morning. The 1st round was online coding + MCQ round. It had 3 sections in total to be solved in 40mins.Questions were mainly from Data structure, OS, DBMS, SQL.
The basic idea is to generate all the possible subarrays and find the cost of every possible split and then returning the minimum cost from all of them.
The steps are as follows:
The simplest idea is to consider all subsequences of arr1[] and check if all numbers in this subsequence are prime and appear in arr2[]. Then find the longest length of these subsequences. But the time complexity for this operation will be O(M * (2 ^ N)) where ‘M’ is the length of the first array and ‘N’ is the length of the second array.
We can think of an efficient solution in which first we c...
Round duration - 60 minutes
Round difficulty - Medium
It was conducted in the evening around 4:30PM-5:30PM. Questions were bit difficult. Questions were mainly from Data Structures and there was total of 3 questions.
The key idea in this problem is storing the first and last occurrence index of every element. So, we can store the first and last index and then iterate over the array, and in each iteration, we check if the maximum index of the last occurrence of all the previous elements of the current subarray is less than or equal to the current index.
We use array hash to store the last occurrence of an elemen...
We will be solving this problem using a simple array traversal. At each position, we will check if the element at the current index i and (i + M) are the same or not. Moreover, if it is the same, then we will increment the counter, and as soon as our counter becomes equal to K, it means the array can be split, and we will return the answer at that step. If, after all, iterations are still if the count i...
Round duration - 20 minutes
Round difficulty - Easy
It was in the evening. Interviewer first ask simple questions to keep me calm and it was nice interaction with her the environment created by her was very interesting to answer
On a scale of 1 to 10 how would you rate yourself as a leader?
What makes you angry?
Tip 1 : Research about the company thoroughly
Tip 2 : Avoid any kind of hesitation while giving the answers
Tip 3 : Try to give practical and optimized approaches which shows some professionalism in you.
Tip 1 : Even if you are stuck in the problem, just give a try. The interviewer will help you definitely for sure.
Tip 2 : Prepare Data Structures and Algorithms well. They mostly check our Problem Solving ability to find the solutions for the real world problems.
Tip 3 : Be enough confident, don't be nervous. Maintain atleast 2 projects in your resume
Tip 1 : Mention atleast 2 projects.
Tip 2 : Mention your skills in which you are perfect.
Tip 3 : It should not be too long or too short
Top trending discussions
1 Interview rounds
based on 15 reviews
Rating in categories
Computer Scientist
436
salaries
| ₹21.2 L/yr - ₹70.7 L/yr |
Technical Consultant
289
salaries
| ₹11.5 L/yr - ₹27.5 L/yr |
Software Engineer
256
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Computer Scientist 2
226
salaries
| ₹28 L/yr - ₹101 L/yr |
Senior Technical Consultant
190
salaries
| ₹12.5 L/yr - ₹45 L/yr |
Salesforce
Oracle
Microsoft Corporation
Amazon