Filter interviews by
I applied via Recruitment Consultant and was interviewed in Jan 2021. There were 3 interview rounds.
Memoization is a technique to cache the results of a function to improve performance.
Memoization can be implemented using closures or objects.
It is useful for functions that are computationally expensive or have repetitive calculations.
Memoization can be used for recursive functions to avoid redundant calculations.
Example: Memoizing a Fibonacci function to avoid recalculating the same values.
Currying is a technique in JavaScript where a function with multiple arguments is transformed into a sequence of functions with single arguments.
Currying allows for partial application of functions.
It can be achieved using the bind() method or by creating a closure.
Curried functions can be used for function composition and creating reusable code.
Example: const add = x => y => x + y; add(2)(3) returns 5.
Services are used to share data and functionality across components. Lifecycle hooks are methods that get called at specific stages of a component's life.
Services are singleton objects that can be injected into components
Lifecycle hooks include ngOnInit, ngOnDestroy, and ngOnChanges
ngOnInit is called when a component is initialized
ngOnDestroy is called when a component is about to be destroyed
ngOnChanges is called when
Angular components interact with each other through @Input, @Output, and services.
Components can pass data to child components using @Input decorator
Components can emit events to parent components using @Output decorator
Components can share data through services
Components can communicate with each other using @ViewChild and @ContentChild decorators
Top trending discussions
I was interviewed in Aug 2017.
I applied via Recruitment Consultant and was interviewed before Jul 2020. There were 4 interview rounds.
ExtJS is a JavaScript framework for building web applications with rich user interfaces.
ExtJS has a wide range of components including grids, forms, trees, charts, and more.
Components can be customized with themes and plugins.
Some popular ExtJS components include GridPanel, FormPanel, and TreePanel.
ExtJS also includes a powerful data package for managing data in components.
Components can be easily integrated with other
Different methods to fetch values in UI development
Using document.getElementById() to fetch value by element ID
Using document.querySelector() to fetch value by CSS selector
Using event.target.value to fetch value from input fields
Using AJAX to fetch data from server
Using local storage to fetch stored values
Grid events and structures are essential for UI development.
Grid events are actions that occur when a user interacts with a grid, such as clicking a cell or scrolling.
Grid structures refer to the layout and organization of the grid, including columns, rows, and headers.
Examples of grid events include onCellClick, onRowSelect, and onScroll.
Examples of grid structures include columnDefs, rowData, and headerHeight.
I applied via Walk-in and was interviewed in Mar 2022. There were 2 interview rounds.
Using a for loop to find a specific value in an array of strings.
Use a for loop to iterate through the array
Check each element to see if it matches the desired value
Return the index of the matching element or -1 if not found
To find array values using for loop
Declare a variable to store the sum of array values
Use a for loop to iterate through the array
Access each element using array[index] syntax
Add the element value to the sum variable
Return the sum variable
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
Hii
Inline elements do not start on a new line and only take up as much width as necessary, while inline-block elements can have a width and height set.
Inline elements do not start on a new line and only take up as much width as necessary
Inline-block elements can have a width and height set
Inline elements ignore top and bottom margins and padding, while inline-block elements respect them
Semantic HTML is a way of writing HTML that focuses on the meaning of the content rather than its appearance.
Semantic HTML uses tags that clearly define the purpose of the content, such as <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>.
It helps improve accessibility for users with disabilities by providing more context to screen readers and other assistive tec...
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Authentication verifies a user's identity, while authorization determines what a user can access.
Authentication confirms a user's identity through credentials like username and password.
Authorization controls access to resources based on the authenticated user's permissions.
Example: Logging into a website (authentication) and then being able to view/edit specific pages based on your role (authorization).
To render a list in React, use map() function to iterate over an array of data and return a list of components. State is mutable data managed within a component, while props are immutable data passed from parent to child components.
To render a list in React, use map() function to iterate over an array of data and return a list of components.
Example: const items = ['item1', 'item2', 'item3']; items.map(item =>
Webpage optimization techniques include minifying CSS and JS files, optimizing images, using asynchronous loading for scripts, and reducing render-blocking scripts.
Minify CSS and JS files to reduce file sizes and improve loading times.
Optimize images by compressing them and using the correct file format (e.g. JPEG for photographs, PNG for graphics).
Use asynchronous loading for scripts to prevent them from blocking the ...
Use SCSS to apply background color to nested li elements and utilize mixins.
Use nesting to target the li elements within a parent element
Apply background color to the 2nd li element using the :nth-child() selector
Define and use mixins to reuse styles across the codebase
To fix cumulative layout shift issues, ensure all images and media have dimensions specified in HTML, use CSS aspect ratio boxes, and prioritize loading critical resources.
Specify dimensions for all images and media in HTML to prevent layout shifts.
Use CSS aspect ratio boxes to reserve space for images before they load.
Prioritize loading critical resources to avoid sudden layout changes.
Software Engineer
30
salaries
| ₹0 L/yr - ₹0 L/yr |
System Administrator
22
salaries
| ₹0 L/yr - ₹0 L/yr |
Verification Analyst
22
salaries
| ₹0 L/yr - ₹0 L/yr |
Quality Analyst
18
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Tech Mahindra
TCS
Infosys
Wipro