Faster and better experience!
Filter interviews by
I applied via Naukri.com and was interviewed before Jan 2021. There were 3 interview rounds.
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Dec 2024. There were 2 interview rounds.
I applied via Campus Placement
Difference between soft skills and hard skills
Polymorphism allows objects of different classes to be treated as objects of a common superclass. Generators produce items one at a time. Decorators add functionality to existing functions or methods.
Polymorphism: Enables objects of different classes to be treated as objects of a common superclass. Example: Animal superclass with Dog and Cat subclasses.
Generator: Produces items one at a time, allowing for efficient mem...
Embeddings are a way to represent words or phrases as vectors in a high-dimensional space, capturing semantic relationships.
Embeddings are important for tasks like natural language processing, where words need to be represented in a meaningful way.
They can be created using techniques like Word2Vec, GloVe, or using neural networks like Word Embeddings.
Embeddings help in capturing semantic relationships between words, al...
Encoder-decoder is a neural network architecture used for tasks like machine translation.
Encoder processes input data and generates a fixed-length representation
Decoder uses the representation to generate output sequence
Example: Seq2Seq model for translating English to French
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 4 interview rounds.
Some basic testing questions
posted on 24 Nov 2024
I applied via Referral and was interviewed in Oct 2024. There were 3 interview rounds.
I follow the Software Development Life Cycle (SDLC) process to ensure successful project delivery.
I start with requirements gathering and analysis to understand the project scope and objectives.
I then move on to design, where I create a detailed plan for how the system will be built.
Next, I proceed to development, where the actual coding and implementation of the system takes place.
After development, I conduct thorough...
By breaking down the problem into smaller components and analyzing each part individually
Identify the key components of the problem statement
Break down the problem into smaller, more manageable parts
Analyze each part individually to understand its impact on the overall problem
Consider different perspectives and potential solutions
Collaborate with team members or stakeholders to gain additional insights
BRD is a document that outlines business requirements, while FRD is a document that details functional requirements.
BRD focuses on what the business needs, while FRD focuses on how those needs will be met.
BRD is high-level and non-technical, while FRD is detailed and technical.
BRD is created before FRD in the project lifecycle.
Example: BRD may state the need for a customer relationship management system, while FRD will...
User stories are created by collaborating with stakeholders and allocating points based on complexity and effort required.
Collaborate with stakeholders to gather requirements and understand user needs
Break down features into smaller, manageable user stories
Prioritize user stories based on business value and dependencies
Allocate points based on complexity, effort, and risk involved
Use techniques like Planning Poker to a
The SOP for creating a requirement gathering doc involves planning, interviewing stakeholders, documenting requirements, and obtaining approval.
Plan the requirement gathering process by identifying stakeholders and their needs
Conduct interviews with stakeholders to gather detailed requirements
Document the requirements in a clear and organized manner
Obtain approval from stakeholders to ensure alignment with business goa
I am highly proficient in using Jira, Confluence, and SQL for various business analysis tasks.
I have extensive experience using Jira for project management, issue tracking, and agile development.
I am skilled in using Confluence for documentation, collaboration, and knowledge sharing within teams.
I have strong SQL skills for data analysis, querying databases, and generating reports.
I have used these tools in previous pr...
I look for values such as integrity, teamwork, communication, and adaptability in a colleague.
Integrity - honesty, trustworthiness, and ethical behavior
Teamwork - collaboration, support, and willingness to help others
Communication - clear and effective communication skills
Adaptability - ability to adjust to changing circumstances and problem-solve
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Find the length of the longest subsequence of contiguous integers in an array.
Sort the array
Iterate through the array and check for consecutive integers
Keep track of the longest subsequence found
Use flatMap and map to extract list of pincodes from Employee objects
Use flatMap to flatten the list of Addresses in each Employee object
Use map to iterate over the flattened list and extract the pincodes
Example: employeeList.stream().flatMap(emp -> emp.getAddresses().stream()).map(address -> address.getPincode()).collect(Collectors.toList())
Database pooling is a technique used to manage a pool of database connections for efficient resource utilization. HikariCP is a popular database connection pooling library in Java.
HikariCP is a high-performance database connection pooling library for Java applications.
It is known for its low latency and high throughput.
Configurations for HikariCP include settings such as maximum pool size, connection timeout, and idle ...
based on 22 reviews
Rating in categories
Security Analyst
19
salaries
| ₹5 L/yr - ₹14.5 L/yr |
Security Engineer
14
salaries
| ₹11 L/yr - ₹20 L/yr |
Senior Security Analyst
13
salaries
| ₹7.1 L/yr - ₹21 L/yr |
Network Security Engineer
13
salaries
| ₹12 L/yr - ₹18.8 L/yr |
Senior Security Engineer
6
salaries
| ₹9.5 L/yr - ₹30 L/yr |
NortonLifeLock's
Trend Micro
Palo Alto Networks
Check Point Software Technologies