i
Porter
Filter interviews by
I applied via Referral and was interviewed before Apr 2023. There were 3 interview rounds.
Find the maximum sum path in a tree from root to leaf node.
Start from the root node and traverse down to leaf nodes, keeping track of the sum at each node.
At each node, compare the sum of the current path with the maximum sum found so far.
Choose the path with the maximum sum as the final result.
Create a simple timer using React
Use state to store the timer value
Use setInterval to update the timer every second
Display the timer value in the component's render method
Top trending discussions
posted on 25 Nov 2024
Memory leaks can be detected and prevented by monitoring memory usage, using memory profiling tools, avoiding circular references, and properly managing event listeners.
Monitor memory usage regularly to identify any abnormal increases.
Use memory profiling tools like Chrome DevTools or Valgrind to analyze memory usage.
Avoid creating circular references in your code, as they can prevent objects from being garbage collect...
I applied via Campus Placement and was interviewed in Feb 2024. There were 2 interview rounds.
Question are very tough and faad
Question like trees linked list and graphs
I was interviewed in Sep 2021.
Round duration - 60 Minutes
Round difficulty - Medium
Mostly focused on Data Structure & Algorithm
Given Linked List : 1 2...
Find the length of the Linked List to check whether the ‘K’ is greater than the Length of the Linked List or not. Take a modulo of ‘K’ with its length if it is greater than the length. Reach the (‘K’+1)th node from last and change the pointers of nodes to get a rotated Linked List.
Here is the algorithm:
Use an array ‘ARR’ to store the words in ‘STR’. Traverse the string ‘STR’ and append each word at the end of ‘ARR’. Use the string ‘RES’ to store the answer. Traverse the array ‘ARR’ in reverse and append the words in ‘ARR’ to ‘RES’ followed by a whitespace character.
Round duration - 50 Minutes
Round difficulty - Medium
JavaScript core concepts with some examples and problem discussion
1) What is currying in Javascript?
2) Explain hoisting with a code snippet.
3) What does this return (typeof null) ?
4) What is callback hell?
Round duration - 30 Minutes
Round difficulty - Easy
Why should we hire you?
What keeps you motivated?
Tip 1 : JavaScript from javascript.info and Akshay Saini videos
Tip 2 : Practise CSS styling for big web apps like Amazon, Flipkart etc
Tip 3 : Practice writing custom hooks and react code optimization.
Tip 1 : Write skills which you know only and be confident about it.
Tip 2 : Also, do mention the project's that you have done in your current company or as a part of your self learning.
I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.
posted on 13 May 2024
I was interviewed before May 2023.
Coding test in javascript
I applied via Campus Placement and was interviewed in Feb 2024. There were 2 interview rounds.
Question are very tough and faad
Question like trees linked list and graphs
I was interviewed in Sep 2021.
Round duration - 60 Minutes
Round difficulty - Medium
Mostly focused on Data Structure & Algorithm
Given Linked List : 1 2...
Find the length of the Linked List to check whether the ‘K’ is greater than the Length of the Linked List or not. Take a modulo of ‘K’ with its length if it is greater than the length. Reach the (‘K’+1)th node from last and change the pointers of nodes to get a rotated Linked List.
Here is the algorithm:
Use an array ‘ARR’ to store the words in ‘STR’. Traverse the string ‘STR’ and append each word at the end of ‘ARR’. Use the string ‘RES’ to store the answer. Traverse the array ‘ARR’ in reverse and append the words in ‘ARR’ to ‘RES’ followed by a whitespace character.
Round duration - 50 Minutes
Round difficulty - Medium
JavaScript core concepts with some examples and problem discussion
1) What is currying in Javascript?
2) Explain hoisting with a code snippet.
3) What does this return (typeof null) ?
4) What is callback hell?
Round duration - 30 Minutes
Round difficulty - Easy
Why should we hire you?
What keeps you motivated?
Tip 1 : JavaScript from javascript.info and Akshay Saini videos
Tip 2 : Practise CSS styling for big web apps like Amazon, Flipkart etc
Tip 3 : Practice writing custom hooks and react code optimization.
Tip 1 : Write skills which you know only and be confident about it.
Tip 2 : Also, do mention the project's that you have done in your current company or as a part of your self learning.
Pagination component to display a list of items with page navigation.
Create a Pagination component with props for total number of items, items per page, and current page.
Calculate total number of pages based on total items and items per page.
Display page numbers with previous and next buttons to navigate through pages.
Update the list of items displayed based on current page.
Handle click events on page numbers and previ
A polyfill for JS promise is a piece of code that provides support for promises in older browsers.
Create a Promise class with resolve, reject, then, and catch methods
Implement the executor function to handle the asynchronous operation
Use setTimeout to simulate asynchronous behavior
Handle chaining of then and catch methods
posted on 25 Nov 2024
Memory leaks can be detected and prevented by monitoring memory usage, using memory profiling tools, avoiding circular references, and properly managing event listeners.
Monitor memory usage regularly to identify any abnormal increases.
Use memory profiling tools like Chrome DevTools or Valgrind to analyze memory usage.
Avoid creating circular references in your code, as they can prevent objects from being garbage collect...
Business Associate
268
salaries
| ₹2.2 L/yr - ₹4.3 L/yr |
Business Executive
225
salaries
| ₹1.9 L/yr - ₹3.5 L/yr |
Assistant Manager
90
salaries
| ₹3.8 L/yr - ₹13.2 L/yr |
Senior Business Associate
79
salaries
| ₹3.1 L/yr - ₹6.3 L/yr |
Senior Manager
71
salaries
| ₹14 L/yr - ₹24 L/yr |
Dunzo
Flipkart
Amazon
Snapdeal