Filter interviews by
Top trending discussions
posted on 5 Aug 2024
I applied via Job Portal and was interviewed in Feb 2024. There were 3 interview rounds.
30 mins Aptitude Question
30 mins - 3 Coding Question
Response codes indicate the status of a HTTP request. 200 & 201 are success codes, while 400 & 403 are client error codes.
200 - OK: Request was successful
201 - Created: Request was successful and a new resource was created
400 - Bad Request: The server cannot process the request due to a client error
403 - Forbidden: The server understood the request, but refuses to authorize it
posted on 15 Sep 2021
I appeared for an interview in Dec 2020.
Round duration - 90 minutes
Round difficulty - Medium
Total of 8 questions:
4 MCQ(oops and expected output type questions) + other 2 were coding questions, out of which one is some class implementation question.
Given an array ARR
and an integer K
, your task is to count all subarrays whose sum is divisible by the given integer K
.
The first line of input contains an...
Count subarrays with sum divisible by K in an array.
Iterate through the array and keep track of the running sum modulo K.
Use a hashmap to store the frequency of remainders.
For each prefix sum, check how many previous prefix sums have the same remainder.
Return the total count of subarrays with sum divisible by K.
Round duration - 60 minutes
Round difficulty - Easy
This round was with the USA team, the panel consisted of 2 members. It took place at around 9 PM IST. The interviewer's focus was on approach.
You are given an unsorted array ARR
. Your task is to sort it so that it forms a wave-like array.
The first line contains an integer 'T', the number of test cases.
For ea...
Sort an array in a wave-like pattern where each element is greater than or equal to its adjacent elements.
Iterate through the array and swap elements at even indices with their adjacent odd indices to form a wave pattern.
There can be multiple valid wave arrays, so any valid wave array is acceptable.
Ensure the first element is greater than or equal to the second element to start the wave pattern.
Given an integer number num
, your task is to convert 'num' into its corresponding word representation.
The first line of input contains an integer ‘T’ denoting the number o...
Convert a given integer number into its corresponding word representation.
Implement a function that takes an integer as input and returns the word representation of that number.
Break down the number into its individual digits and convert each digit into its word form.
Handle special cases like numbers between 10 and 19, and multiples of 10.
Combine the word forms of individual digits to form the final word representation...
Round duration - 40 minutes
Round difficulty - Easy
It was a managerial round. The position of the person taking the interview was of a technical architect. As was informed by the recruiter, previously he was a technical architect at Amazon.
Facebook stores comments in its database using a combination of relational and non-relational databases.
Comments are typically stored in a relational database like MySQL for structured data storage.
For scalability and performance, Facebook may also use a NoSQL database like Cassandra or HBase for storing comments in a denormalized format.
Metadata related to comments such as likes, timestamps, and user information may b...
Tip 1 : Practice the most frequent and most common questions DSA questions asked in companies like Amazon, Microsoft.
Tip 2 : Focus on solving the questions on your own as much as you can.
Tip 3 : Don't waste your time on the number of questions while compromising quality.
Tip 4 : Do mock interviews with your friend if it's been a long since you have given the interview.
Tip 5 : For virtual interviews, always have a backup of data(you may use mobile data if Wi-Fi goes out). While during an interview try to maintain eye contact every now and then.
Tip 6 : Keep your resume short to 1 page and have far/good knowledge of the tech stack you have mentioned
Tip 1 : Keep it short to 1 page
Tip 2 : Prepare it well.
Tip 3 : Focus more on the problem and the solution. Rather than tools used to solve the problem
posted on 4 Aug 2021
I applied via Naukri.com and was interviewed in Feb 2021. There were 4 interview rounds.
React Js is a JavaScript library for building user interfaces.
Virtual DOM is a lightweight copy of the actual DOM used for faster rendering.
State and props are used to manage data in React components.
Hooks are functions that allow you to use state and other React features in functional components.
Class and functional components are two ways to create React components.
Life cycle components are methods that are called at...
JavaScript is a scripting language used for web development. ES6 is the latest version with new features. Promise and Async await are used for asynchronous programming.
JavaScript is a high-level, interpreted language used for web development.
ES6 is the latest version of JavaScript with new features like arrow functions, let and const keywords, and template literals.
Promise is a way to handle asynchronous operations in ...
posted on 14 Mar 2022
I applied via Naukri.com and was interviewed in Sep 2021. There was 1 interview round.
I appeared for an interview before Sep 2021.
I applied via Campus Placement and was interviewed in Jul 2023. There were 3 interview rounds.
Consisted of technical+ mathematical Aptitude questions
To reverse a linked list, iterate through the list and change the direction of pointers.
Iterate through the linked list and keep track of the previous, current, and next nodes.
Update the pointers of each node to reverse the direction.
Set the head of the linked list to the last node after reversing.
To implement a stack using a queue, we can use two queues. To implement a queue using a stack, we can use two stacks.
To implement a stack using a queue, we can use two queues. One queue will act as the main stack, while the other will be used for temporary storage during push operations.
For example, when pushing an element onto the stack, we can dequeue all elements from the main queue and enqueue them into the tempora...
I applied via LinkedIn and was interviewed in Feb 2024. There was 1 interview round.
posted on 20 Jan 2025
Deleting a node in a Binary Search Tree (BST) involves finding the node, handling different cases, and rearranging the tree.
Find the node to delete by traversing the tree
Handle different cases: node has no children, node has one child, node has two children
Rearrange the tree by replacing the node with its successor or predecessor
Producer Consumer problem involves two processes sharing a common buffer.
Producer adds data to the buffer
Consumer removes data from the buffer
Buffer size must be managed to prevent overflow or underflow
I appeared for an interview in Feb 2025.
A coding test may include a LeetCode medium-level question that you can expect.
based on 1 interview experience
Software Engineer
23
salaries
| ₹12 L/yr - ₹28 L/yr |
Staff Engineer
15
salaries
| ₹30 L/yr - ₹48 L/yr |
Senior Software Engineer
14
salaries
| ₹18 L/yr - ₹44.8 L/yr |
Software Developer
9
salaries
| ₹15 L/yr - ₹19 L/yr |
Devops Engineer
8
salaries
| ₹14 L/yr - ₹32 L/yr |
MCM Telecom Equipment
US Tech Solutions
SMC Corporation
Eastern Software Solutions Pvt. Ltd