Filter interviews by
I appeared for an interview before Aug 2023.
Top trending discussions
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
Factorial can be calculated using a loop by multiplying numbers from 1 to n.
Initialize a variable to 1
Use a loop to multiply the variable with numbers from 1 to n
Return the variable
I appeared for an interview in Jun 2017.
Object-oriented programming (OOP) is a programming paradigm that uses objects to represent and manipulate data.
Encourages modular and reusable code
Provides a clear structure and organization to the code
Allows for easier maintenance and updates
Supports code reusability through inheritance and polymorphism
Enables encapsulation, hiding the internal details of an object
Promotes code extensibility and scalability
Facilitates...
I want to join ATOS because of their reputation for innovation and their commitment to employee growth and development.
ATOS is known for its innovative solutions in the software development industry.
I am impressed by ATOS's focus on employee growth and development through training programs and career advancement opportunities.
ATOS has a strong reputation for delivering high-quality software solutions to its clients.
I b...
Code for rand7 using rand5 function
Use rand5 twice to generate a number in [1,25] with equal probability
If the number is greater than 21, discard and try again
Otherwise, return (number mod 7) + 1
LRU cache is implemented using a doubly linked list and a hash map.
Create a doubly linked list to keep track of the order of elements in the cache.
Create a hash map to store the key-value pairs of the cache.
When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.
When an element is accessed, move it to the front of the linked list to...
Function to randomly select pivot element in Quick Sort
Generate a random index within the range of the array
Return the element at the randomly generated index as the pivot
I appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Easy
The interviewer called my via phone and simultaneously provided me a link where I had to write the code for a given problem. It was scheduled at 12:30 pm, so timing was not an issue. It was a standard DP question involving a 2D matrix. The question was easy and I was able to code it within given time.
Round duration - 60 minutes
Round difficulty - Easy
The interviewer asked me two coding questions in this round.
Efficient program to find sum of largest contiguous subarray within a one-dimensional array.
Use Kadane's algorithm to find the maximum sum subarray in O(n) time complexity.
Initialize max_sum and current_sum to 0, iterate through array updating current_sum and max_sum.
Return max_sum as the result.
Round duration - 60 minutes
Round difficulty - Easy
This was on-site round at their Bangalore office. The interviewer was friendly and helpful. The interview held inside a conference room.
Given an undirected and disconnected graph G(V, E)
, where V
is the number of vertices and E
is the number of edges, the connections between vertices are provided in the 'GR...
DFS traversal problem to find connected components in an undirected and disconnected graph.
Use Depth First Search (DFS) algorithm to traverse the graph and find connected components
Maintain a visited array to keep track of visited vertices
Iterate through all vertices and perform DFS on unvisited vertices to find connected components
Round duration - 60 minutes
Round difficulty - Easy
This was the next round of the onsite interviews. Took place in the same conference room as that of the previous round.
Round duration - 60 minutes
Round difficulty - Easy
This was the third round of the onsite interview.
Practice DP based questions as much as you can. Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and Geeks For Geeks.
Application resume tips for other job seekersKeep it short. Mention the academic and professional projects you've done. Add your educational details properly with percentage or CGPA obtained.
Final outcome of the interviewSelectedI applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
Count the number of pairs in an array whose sum is equal to a given number k.
Iterate through the array and for each element, check if k minus the element exists in the array.
Use a hash table to store the frequency of each element in the array.
If the array contains duplicates, handle them separately to avoid overcounting.
Time complexity can be improved to O(n) using a two-pointer approach.
based on 1 interview
Interview experience
Full Stack Developer
17
salaries
| ₹6.2 L/yr - ₹12.2 L/yr |
Full Stack Software Developer
5
salaries
| ₹7.8 L/yr - ₹10.6 L/yr |
Java Full Stack Developer
4
salaries
| ₹7.8 L/yr - ₹11.6 L/yr |
Wipro
Cognizant
Infosys
Tech Mahindra