Filter interviews by
I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a computed value and recompute it only when its dependencies change.
useCallback is used to memoize a function instance and re-render it only when its dependencies change.
Example: useMemo(() => computeExpensiveValue(a, b), [a, b]) vs useCallback(() => handleButtonClick(a, b), [a, b])
A React application for tic-tac-toe game.
Create a Board component to display the game grid
Implement logic to handle player turns and winning conditions
Use state management to update the game state
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Feb 2024. There was 1 interview round.
Bridge is a structural design pattern that decouples an abstraction from its implementation. The new architecture refers to modern design patterns and technologies used in software development.
Bridge pattern allows the client code to work with different implementations of an interface independently.
The new architecture in front end development may include concepts like component-based architecture, state management lib...
Optimizing a React Native app involves reducing bundle size, improving performance, and enhancing user experience.
Use code splitting to reduce initial load time
Optimize images and assets for smaller file sizes
Implement lazy loading for components that are not immediately visible
Minimize the use of third-party libraries and only include necessary dependencies
Utilize performance monitoring tools like React Native Perform
Context API is a feature in React that allows sharing data between components without having to pass props through every level of the component tree.
Context API provides a way to pass data through the component tree without having to pass props down manually at every level.
It is useful for sharing global data such as themes, user authentication, or language preferences.
Context API consists of three main parts: Provider...
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, including their definitions.
Hoisting can lead to unexpected behavior if not understood properly.
posted on 11 Jun 2024
Finding common characters in 3 strings using coding
Create a function that takes in 3 strings as input
Iterate through each character of the first string and check if it exists in the other 2 strings
Store the common characters in an array and return it
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
1 hr -duration and Question is Full of basics and technology what we have used
posted on 13 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There was 1 interview round.
Basic CSS properties include color, font-size, margin, padding, and display.
color
font-size
margin
padding
display
I applied via Naukri.com
I am open to discussing salary based on the responsibilities and requirements of the position.
I am flexible and open to negotiation.
I am looking for a fair and competitive salary.
I am more interested in the overall compensation package rather than a specific number.
I would like to be compensated based on my skills, experience, and the value I can bring to the company.
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.
Display a list of items using Pagination concept in React
Create a list of items to display
Implement pagination logic to display a limited number of items per page
Add navigation buttons to switch between pages
Check if pair sum exists in the array using a hash map.
Use a hash map to store the difference between the target sum and each element in the array.
Iterate through the array and check if the current element exists in the hash map.
Return true if a pair sum exists, otherwise return false.
Improving website performance involves optimizing code, reducing server requests, using caching, and optimizing images.
Optimize code by minifying CSS, JavaScript, and HTML
Reduce server requests by combining files and using asynchronous loading
Utilize caching techniques like browser caching and server-side caching
Optimize images by resizing, compressing, and using modern image formats like WebP
NextJS is a React framework that allows for server-side rendering and static site generation.
NextJS is built on top of React, providing features like server-side rendering and static site generation.
It simplifies the process of building React applications by handling routing, code splitting, and more out of the box.
NextJS also supports API routes for serverless functions and data fetching.
It offers features like automa...
I was interviewed before Jun 2023.
Create 1 webpage using html, css, js, scss - xd provided
Doctype in HTML specifies the version of HTML being used in the document.
Doctype declaration is placed at the very beginning of an HTML document before the tag.
It helps the browser to render the web page correctly by specifying the version of HTML being used.
Common doctype declaration for HTML5 is .
Flexbox is a layout model in CSS that allows you to design complex layouts with a more efficient and predictable way.
Flexbox is used for creating flexible and responsive layouts.
It allows you to align and distribute space among items in a container.
Flexbox properties include display: flex, flex-direction, justify-content, align-items, and more.
Example: display: flex; justify-content: center; align-items: center;
Document.ready is a jQuery function that fires when the DOM is ready, while window.onload is a vanilla JavaScript event that fires when all resources have loaded.
Document.ready is specific to jQuery, while window.onload is a standard JavaScript event.
Document.ready fires when the DOM is ready, even if images are still loading, while window.onload waits for all resources to finish loading.
Document.ready is faster than w...
Position properties in CSS control the positioning of elements on a webpage.
The 'position' property specifies the type of positioning method used for an element (static, relative, absolute, fixed, or sticky).
The 'top', 'right', 'bottom', and 'left' properties can be used to adjust the position of an element relative to its containing element.
Examples: position: relative; top: 10px; left: 20px;
Box model in CSS refers to the way elements are rendered on a webpage, including content, padding, border, and margin.
The box model consists of content, padding, border, and margin.
Content is the actual content of the element.
Padding is the space between the content and the border.
Border is the line that surrounds the padding.
Margin is the space outside the border.
You can adjust the size of each part of the box model u...
Semantic tags in HTML are used to give meaning to the content of a webpage for better accessibility and SEO.
Semantic tags help search engines understand the structure of a webpage.
Examples of semantic tags include
Using semantic tags improves accessibility for screen readers and other assistive technologies.
Display properties are used in CSS to control the layout and appearance of elements on a webpage.
Display property determines how an element is displayed on the page
Common values include 'block', 'inline', 'inline-block', 'flex', 'grid', 'none'
Example: display: block; will make the element a block-level element
Flexbox is a layout model in CSS that allows for the design of complex responsive layouts with a more efficient and predictable way.
Flexbox is used to create flexible and responsive layouts.
It allows for easy alignment and distribution of space among items in a container.
Flexbox properties include display: flex, flex-direction, justify-content, align-items, and more.
Example: display: flex; justify-content: center; alig...
Box sizing property in CSS determines how the total width and height of an element is calculated.
Content-box: width and height only include the content, padding and border are added on top.
Border-box: width and height include content, padding, and border.
Use content-box when you want to specify the width and height of the content area only.
Use border-box when you want to specify the width and height of the entire box i
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
473
salaries
| ₹1.6 L/yr - ₹11.5 L/yr |
Junior Software Engineer
472
salaries
| ₹1 L/yr - ₹6 L/yr |
Associate Software Engineer
157
salaries
| ₹2 L/yr - ₹5.1 L/yr |
Senior Software Engineer
143
salaries
| ₹7.1 L/yr - ₹27 L/yr |
Softwaretest Engineer
137
salaries
| ₹1 L/yr - ₹9 L/yr |
Infosys
Wipro
TCS
HCLTech