Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before Jul 2022. There were 3 interview rounds.
Duration around 1 hour. Includes Logical and Mathematical questions.
React virtual DOM is a lightweight copy of the actual DOM, used for efficient rendering of UI components.
Virtual DOM is a concept where a lightweight copy of the actual DOM is created and updated by React.
When changes are made to the UI, React compares the virtual DOM with the actual DOM to determine the minimal number of updates needed.
This process helps in optimizing performance by reducing the number of DOM manipula...
Analyze and optimize website performance by monitoring loading times, reducing server requests, optimizing images, and using caching techniques.
Monitor loading times using tools like Google PageSpeed Insights or GTmetrix
Reduce server requests by combining CSS and JavaScript files, minifying code, and using asynchronous loading
Optimize images by resizing them, using the correct file format, and lazy loading
Implement cac...
Top trending discussions
I was interviewed before Dec 2020.
Round duration - 360 minutes
Round difficulty - Medium
Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through possible allocations and calculate the maximum pages assigned to a student.
Find the minimum of these maximums to get the optimal allocation.
Return the minimum pages allocated in each test case, or -1 if not possible.
Tip 1 : Good understanding of Data Structure and Algorithms
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .
Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page
posted on 18 Feb 2024
I applied via LinkedIn and was interviewed before Feb 2023. There were 3 interview rounds.
It was easy not that hard
Coding question were on medium level
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
CSS Box-model defines how elements are rendered in a webpage, including padding, border, and margin.
Box-model consists of content, padding, border, and margin
Content area is where text or images are displayed
Padding is the space between content and border
Border is the line around the content and padding
Margin is the space outside the border
Flexbox is for one-dimensional layouts, grid is for two-dimensional layouts.
Flexbox is best for arranging items in a single row or column.
Grid is best for creating complex layouts with rows and columns.
Flexbox is more suitable for smaller scale layouts, while grid is better for larger scale layouts.
Flexbox is more flexible in terms of item order and sizing, while grid provides more control over the overall layout.
Both
I applied via Naukri.com and was interviewed before Mar 2023. There was 1 interview round.
I applied via Company Website and was interviewed before Jan 2022. There were 3 interview rounds.
Event Loop is a mechanism in JavaScript that manages the execution of code and handles asynchronous operations.
Event Loop continuously checks the call stack and the message queue.
If the call stack is empty, it takes the first message from the queue and pushes it onto the call stack.
If the message is a callback function, it is executed and removed from the call stack.
If the message is not a callback function, it is pass...
Use CSS to make a set of 6 boxes responsive
Use percentage or viewport units for width and height
Use media queries to adjust styles for different screen sizes
Consider using flexbox or grid for layout
Avoid using fixed pixel values
Test on different devices and browsers
Use CSS frameworks like Bootstrap or Foundation for easier implementation
Reverse a given string
Use built-in methods like split(), reverse(), and join() to reverse the string
Alternatively, loop through the string from end to start and build a new reversed string
State in functional components can be managed using the useState hook in React.
Use the useState hook to declare state variables in functional components.
useState returns an array with the current state value and a function to update that value.
Example: const [count, setCount] = useState(0);
State variables should be immutable, so always use the setter function to update them.
Event loop in JavaScript is responsible for handling asynchronous operations by executing callback functions in a non-blocking way.
Event loop is a mechanism that allows JavaScript to perform non-blocking operations.
It continuously checks the call stack and the callback queue to see if there are any functions that need to be executed.
If the call stack is empty, it takes the first function from the callback queue and pus...
Hosting in JavaScript refers to the process of declaring a variable or function before it is used in the code.
Hosting allows you to use variables and functions before they are declared in the code.
Variables are hoisted to the top of their scope, while functions are fully hoisted.
Example: console.log(myVar); var myVar = 10; This will not throw an error because 'myVar' is hoisted to the top of the scope.
I applied via Walk-in and was interviewed in Jul 2024. There was 1 interview round.
Comments in JavaScript are used to explain the code and are not executed by the browser.
Use // for single line comments
Use /* */ for multi-line comments
Comments help other developers understand your code
Async-await is a feature in JavaScript that allows for asynchronous programming using promises.
Use the 'async' keyword before a function to make it asynchronous
Use the 'await' keyword inside an async function to wait for a promise to resolve
Async-await simplifies asynchronous code and makes it easier to read and maintain
I applied via Company Website and was interviewed in Mar 2024. There were 3 interview rounds.
Test my knowledge in web developer
Test my knowledge in coding
Check my knowledge in group discussion
based on 1 interview
Interview experience
Software Engineer
94
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
40
salaries
| ₹0 L/yr - ₹0 L/yr |
QA Engineer
30
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
22
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
20
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech