Filter interviews by
Top trending discussions
Coding a frontend UI from provided image. And creating a fucntional star rating system
Designing a Component API in React using Typescript involves defining props, state, and methods for the component.
Define the props interface to specify the expected input data for the component
Use typescript types to ensure type safety and prevent runtime errors
Define the state interface to manage the internal state of the component
Implement methods to handle user interactions and component logic
Document the component
Function to clear all timer ids at once
Create an array to store all timer ids
Iterate through the array and clear each timer id using clearTimeout() function
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Micro Frontend architecture is an approach to building front-end applications by breaking them down into smaller, independently deployable units.
Allows different teams to work on separate parts of the application
Each micro frontend can be developed using different technologies
Enables incremental upgrades and updates without affecting the entire application
Can improve performance by loading only the necessary components
...
Pure pipes in Angular are stateless and do not change the input data, while impure pipes can have side effects and change the input data.
Pure pipes are used for simple transformations like formatting dates or numbers.
Impure pipes are used for more complex transformations that require state or side effects.
Pure pipes are faster and more efficient as they only run when a pure change to the input data is detected.
Impure p...
Singleton services can be made multiton by maintaining a map of instances with unique keys.
Create a map to store instances with unique keys
Use a factory method to retrieve instances based on keys
Ensure that only one instance is created per key
Dependency injection is a design pattern where components are given their dependencies rather than creating them internally.
Allows for easier testing by injecting mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: AngularJS, Spring Framework
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
React is a JavaScript library for building user interfaces.
React allows for the creation of reusable UI components
It uses a virtual DOM for efficient rendering
React is declarative, making it easier to understand and debug code
Creating a simple app using Redux for state management in a front end application.
Set up Redux store with reducers and actions
Connect components to Redux store using mapStateToProps and mapDispatchToProps
Dispatch actions to update state in Redux store
Use combineReducers to manage multiple reducers
Agile process involves iterative development, frequent collaboration, and adaptability to changes.
Daily stand-up meetings to discuss progress and roadblocks
Sprints for focused development and testing
Continuous feedback and iteration based on user input
Use of tools like Jira or Trello for project management
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
posted on 25 Oct 2024
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
DOM stands for Document Object Model, which is a programming interface for web documents.
DOM is a representation of the structure of a web page, allowing scripts to dynamically access and update the content, structure, and style of the page.
It provides a way for scripts to interact with the elements on a web page, such as changing text, styles, and attributes.
DOM is hierarchical, with elements nested inside other eleme...
Promises in TypeScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in a more readable and manageable way.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: const myPromise = new Promise((resolve, reject) => { ...
Hooks in JavaScript are functions that let you use state and other React features without writing a class.
Hooks were introduced in React 16.8 to allow functional components to have state and lifecycle methods.
useState() is a hook that allows you to add state to functional components.
useEffect() is a hook that allows you to perform side effects in functional components.
Custom hooks are functions that allow you to reuse
Generate an array of prime numbers from 1 to 100.
Iterate from 1 to 100 and check if each number is prime
A prime number is only divisible by 1 and itself
Start with a list of prime numbers and check divisibility
posted on 29 Nov 2024
2 DSA questions. Both medium level difficult
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
Interview experience
Software Developer
5
salaries
| ₹3 L/yr - ₹6.9 L/yr |
Project Manager
3
salaries
| ₹6 L/yr - ₹11 L/yr |
Full Stack Developer
3
salaries
| ₹5 L/yr - ₹9 L/yr |
TCS
Infosys
Wipro
HCLTech