Filter interviews by
Count the number of islands in a grid using Depth First Search (DFS).
Create a visited array to keep track of visited cells
Iterate through each cell in the grid and perform DFS to explore neighboring cells
Increment the count of islands whenever a new island is encountered
Convert Roman numerals to integers by mapping symbols to values and summing them based on specific rules.
Roman numerals consist of symbols like I (1), V (5), X (10), L (50), C (100), D (500), M (1000).
If a smaller numeral appears before a larger one, subtract it (e.g., IV = 4).
If a smaller numeral appears after a larger one, add it (e.g., VI = 6).
Example: 'MCMXCIV' = 1000 + (1000 - 100) + (1000 - 10) + 5 = 1994.
Binary search for ship capacity involves finding the minimum capacity needed to transport all packages within a given time.
Identify the range for ship capacity: min is max weight of packages, max is sum of all weights.
Use binary search to find the minimum capacity that allows all packages to be shipped within the given time.
Calculate the number of trips needed for a mid capacity: iterate through packages and sum w...
Design a simplified version of Twitter, focusing on user interactions and tweet management.
Users can follow/unfollow each other, e.g., User A follows User B.
Each user can post tweets, e.g., 'Hello World!' as a tweet.
Users can view their feed, which shows tweets from followed users.
Implement a timeline that retrieves the latest tweets, e.g., showing the 10 most recent tweets.
Support retweets and likes for tweets, e...
Determining job scheduling order based on dependencies
Create a directed graph with jobs as nodes and dependencies as edges
Use topological sorting to determine the order of scheduling
If there is a cycle in the graph, it is not possible to schedule the jobs
Consider using depth-first search to traverse the graph
To add two linked lists, traverse both lists simultaneously and add corresponding nodes.
Create a new linked list to store the sum
Traverse both linked lists simultaneously and add corresponding nodes
If the sum is greater than 9, carry over the 1 to the next node
If one list is longer than the other, add the remaining nodes to the sum
Return the new linked list
Class-based components are used for complex components with state and lifecycle methods, while functional components are simpler and more lightweight.
Class-based components have access to lifecycle methods like componentDidMount and componentDidUpdate.
Functional components are easier to read and test.
Functional components can use React hooks to manage state and lifecycle.
Class-based components are more suitable fo...
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
First round was taken by interview vector on leetcode
1 question was based on binary search
Binary search for ship capacity involves finding the minimum capacity needed to transport all packages within a given time.
Identify the range for ship capacity: min is max weight of packages, max is sum of all weights.
Use binary search to find the minimum capacity that allows all packages to be shipped within the given time.
Calculate the number of trips needed for a mid capacity: iterate through packages and sum weight...
Design a simplified version of Twitter, focusing on user interactions and tweet management.
Users can follow/unfollow each other, e.g., User A follows User B.
Each user can post tweets, e.g., 'Hello World!' as a tweet.
Users can view their feed, which shows tweets from followed users.
Implement a timeline that retrieves the latest tweets, e.g., showing the 10 most recent tweets.
Support retweets and likes for tweets, e.g., ...
I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.
Count the number of islands in a grid using Depth First Search (DFS).
Create a visited array to keep track of visited cells
Iterate through each cell in the grid and perform DFS to explore neighboring cells
Increment the count of islands whenever a new island is encountered
Convert Roman numerals to integers by mapping symbols to values and summing them based on specific rules.
Roman numerals consist of symbols like I (1), V (5), X (10), L (50), C (100), D (500), M (1000).
If a smaller numeral appears before a larger one, subtract it (e.g., IV = 4).
If a smaller numeral appears after a larger one, add it (e.g., VI = 6).
Example: 'MCMXCIV' = 1000 + (1000 - 100) + (1000 - 10) + 5 = 1994.
I applied via Referral and was interviewed before Jul 2023. There were 3 interview rounds.
By interview Vector , 2 coding questions
I applied via Instahyre and was interviewed before Mar 2023. There was 1 interview round.
Round 1
First question 30 mins, write a working modular code
Buy and sell stock 2 like Problem from leetcode.
Given an array of stock prices each day you can buy or sell stock. you can hold almost 1 stock at any time. return maximum profit you can achieve
2. Dp, maximum points from a card (30min
Several cards are arranged in a row and each card has one number. you can take a total K cards from the beginning or at the end. Your score is the sum of points on the cards you have picked.
eg: [1,2,3,4,5,6,1] k = 3 -> Ans 12
I applied via LinkedIn and was interviewed before Mar 2023. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed in Jun 2021. There were 3 interview rounds.
Class-based components are used for complex components with state and lifecycle methods, while functional components are simpler and more lightweight.
Class-based components have access to lifecycle methods like componentDidMount and componentDidUpdate.
Functional components are easier to read and test.
Functional components can use React hooks to manage state and lifecycle.
Class-based components are more suitable for lar...
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
To add two linked lists, traverse both lists simultaneously and add corresponding nodes.
Create a new linked list to store the sum
Traverse both linked lists simultaneously and add corresponding nodes
If the sum is greater than 9, carry over the 1 to the next node
If one list is longer than the other, add the remaining nodes to the sum
Return the new linked list
Determining job scheduling order based on dependencies
Create a directed graph with jobs as nodes and dependencies as edges
Use topological sorting to determine the order of scheduling
If there is a cycle in the graph, it is not possible to schedule the jobs
Consider using depth-first search to traverse the graph
Top trending discussions
I applied via Company Website and was interviewed before Jan 2021. There were 3 interview rounds.
Routing through a proxy involves configuring the proxy server to forward requests to the destination server.
Configure the proxy server to listen for incoming requests
Configure the proxy server to forward requests to the destination server
Configure the client to use the proxy server for outgoing requests
Use a proxy server to bypass network restrictions or improve performance
Examples: Nginx, Apache, Squid
based on 6 interview experiences
Difficulty level
Duration
Software Developer
5
salaries
| ₹9 L/yr - ₹30 L/yr |
Senior Software Engineer
5
salaries
| ₹29 L/yr - ₹38 L/yr |
Software Engineer
4
salaries
| ₹15 L/yr - ₹35 L/yr |
QA Engineer
4
salaries
| ₹3.5 L/yr - ₹13 L/yr |
Software Development Engineer II
4
salaries
| ₹25 L/yr - ₹45 L/yr |
FIS
PhonePe
Fiserv
Broadridge Financial Solutions