i
HashedIn by Deloitte
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Closure is a function that retains access to variables from its parent scope even after the parent function has finished executing.
Closure allows a function to access and manipulate variables from its outer function's scope.
It occurs when a function is defined within another function and the inner function uses variables from the outer function.
Closure helps in creating private variables and functions in JavaScript.
Exa...
Top trending discussions
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.
I was interviewed in Sep 2024.
Promise , and event loop questions and one hackerrank DSA problem
posted on 29 Nov 2023
I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.
Implement a data structure and algorithm for finding repeated elements in an array.
Use a hash map to store the frequency of each element in the array.
Iterate through the array and update the frequency in the hash map.
Return the elements with frequency greater than 1 as the repeated elements.
Implementing DSA for sorting array of strings
Use a sorting algorithm like bubble sort, selection sort, or merge sort
Compare strings using built-in comparison functions or custom comparison functions
Ensure the sorting algorithm is efficient and handles edge cases
Css3 questions JavaScript also. Login page and positions and dsa for flattened the nested array
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
He had given JavaScript questions first & he asked about the output of that questions topics related is like - function, async & await, setTimeout.
Q1. const transaction = [
{id: 1, amount: 100, type: "credit"},
{id: 2, amount: -50, type: "debit" },
{id: 3, amount: 200, type: "credit"},
{id: 4, amount: -150, type: "debit"},
{id: 5, amount: 50, type: "credit"}
];
const threshold = 100;
O/P - {
balance: 150,
exceededTransactions: [1, 3, 4, 5]
}
Q2. Anagrams
I/P: ["abc", "bca", "cat", "act"]
O/p - [["abc", "bca"],["cat","act"]]
posted on 18 Nov 2021
I was interviewed in May 2021.
Functional components are simpler and easier to test, while class components have more features and better performance.
Functional components are stateless and use hooks for state management.
Class components have lifecycle methods and can hold state.
Functional components are easier to read and write.
Class components have better performance in certain scenarios.
Functional components are recommended for simple UI componen...
Props are inputs passed to React components. There are two types: ownProps and childrenProps.
ownProps are passed directly to the component from its parent
childrenProps are passed to the component through its children
ownProps can be accessed using this.props in the component
childrenProps can be accessed using this.props.children in the component
Redux is a predictable state container for JavaScript apps.
Redux is a state management library for JavaScript applications.
It provides a centralized store to manage the state of an application.
Redux follows a unidirectional data flow pattern.
Actions are dispatched to update the state in the store.
Reducers are pure functions that update the state based on the dispatched actions.
Selectors are used to retrieve data from t...
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.
Write code to check palindrome no. Sime basic react js task
based on 1 review
Rating in categories
Software Engineer
402
salaries
| ₹5 L/yr - ₹16 L/yr |
Software Engineer2
357
salaries
| ₹9.5 L/yr - ₹22 L/yr |
Senior Software Engineer
211
salaries
| ₹8.1 L/yr - ₹26 L/yr |
Software Developer
162
salaries
| ₹7 L/yr - ₹15.5 L/yr |
Senior Product Specialist
162
salaries
| ₹12.4 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
HCLTech