Filter interviews by
Redux Toolkit is an official, opinionated, batteries-included toolset for efficient Redux development.
Official toolset for Redux
Opinionated and batteries-included
Helps with common Redux tasks like store setup, reducer logic, and actions
Reducer is a function in Redux that specifies how the application's state changes in response to actions.
Reducer functions take the current state and an action as arguments, and return the new state.
Reducers are pure functions, meaning they do not modify the current state, but return a new state object.
Redux uses reducers to manage the state of the application in a predictable way.
useQuery is for fetching data from the server, useMutation is for making changes to the server data.
useQuery is used for fetching data from the server, while useMutation is used for making changes to the server data.
useQuery is read-only and does not modify data on the server, while useMutation is used for updating, creating, or deleting data on the server.
useQuery is typically used for GET requests, while useMuta...
Yes, we can send the state from a child component to a parent component in React.
Use callback functions to pass data from child to parent
Parent component can pass a function as a prop to child component
Child component can call this function with the data to update parent's state
React JS is a popular JavaScript library for building user interfaces.
Component-based architecture
Virtual DOM for efficient updates
JSX syntax for writing components
One-way data binding
Reusable components
React Native for mobile app development
Yes, I use Redux Toolkit for state management in my frontend projects.
I use Redux Toolkit to simplify the process of managing state in my applications.
It provides a set of tools and best practices for managing state in a predictable way.
I find it helpful for handling complex state logic and data flow in my projects.
createSlice is a function in Redux Toolkit that simplifies the process of creating Redux slices.
createSlice is a function provided by Redux Toolkit for creating Redux slices with less boilerplate code.
It allows developers to define a slice of the Redux state, including initial state, reducers, and action creators.
createSlice automatically generates action types and action creators based on the defined reducers.
It ...
ReactJs is a JavaScript library for building user interfaces.
ReactJs is developed and maintained by Facebook.
It uses a component-based architecture for building reusable UI components.
ReactJs uses a virtual DOM for efficient rendering of components.
It allows developers to create interactive and dynamic web applications.
ReactJs can be used with other libraries and frameworks like Redux for state management.
React Query is used for managing server state and caching data in React applications.
Provides a powerful and flexible way to fetch, cache, and update data from APIs
Automatically handles caching, background refetching, and stale data management
Improves performance by reducing unnecessary network requests
Simplifies data fetching and updating logic in React components
A simple To-Do application built with React to manage tasks efficiently.
Use functional components and hooks like useState for state management.
Create an input field to add new tasks, e.g., <input type='text' />.
Display tasks in a list using the map function, e.g., {tasks.map(task => <li>{task}</li>)}.
Implement a delete function to remove tasks, e.g., const deleteTask = (index) => { ... }.
St...
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
useState and useEffect are hooks in React for managing state and side effects in functional components.
useState is a hook that allows functional components to have stateful logic.
useEffect is a hook that allows functional components to perform side effects.
useState example: const [count, setCount] = useState(0);
useEffect example: useEffect(() => { console.log('Component mounted'); }, []);
Created a todo application using React Js
Used React components to create the UI
Implemented state management for adding, deleting, and updating todos
Utilized local storage to persist todo data
Styled the application using CSS or a CSS framework
General discussion on random topic
I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.
ReactJs is a JavaScript library for building user interfaces.
ReactJs is developed and maintained by Facebook.
It uses a component-based architecture for building reusable UI components.
ReactJs uses a virtual DOM for efficient rendering of components.
It allows developers to create interactive and dynamic web applications.
ReactJs can be used with other libraries and frameworks like Redux for state management.
React JS is a popular JavaScript library for building user interfaces.
Component-based architecture
Virtual DOM for efficient updates
JSX syntax for writing components
One-way data binding
Reusable components
React Native for mobile app development
UseEffect and UseState are React hooks used for managing state and side effects in functional components.
UseEffect is used to perform side effects in functional components, similar to componentDidMount and componentDidUpdate in class components.
UseState is used to manage state in functional components, allowing for re-rendering when the state changes.
Example: const [count, setCount] = useState(0); useEffect(() => { doc...
Yes, I use Redux Toolkit for state management in my frontend projects.
I use Redux Toolkit to simplify the process of managing state in my applications.
It provides a set of tools and best practices for managing state in a predictable way.
I find it helpful for handling complex state logic and data flow in my projects.
Redux Toolkit is an official, opinionated, batteries-included toolset for efficient Redux development.
Official toolset for Redux
Opinionated and batteries-included
Helps with common Redux tasks like store setup, reducer logic, and actions
Reducer is a function in Redux that specifies how the application's state changes in response to actions.
Reducer functions take the current state and an action as arguments, and return the new state.
Reducers are pure functions, meaning they do not modify the current state, but return a new state object.
Redux uses reducers to manage the state of the application in a predictable way.
createSlice is a function in Redux Toolkit that simplifies the process of creating Redux slices.
createSlice is a function provided by Redux Toolkit for creating Redux slices with less boilerplate code.
It allows developers to define a slice of the Redux state, including initial state, reducers, and action creators.
createSlice automatically generates action types and action creators based on the defined reducers.
It is co...
Props and state are two important concepts in React for managing and passing data.
Props are read-only data passed from a parent component to a child component.
State is mutable data managed within a component.
Props are used to pass data down the component tree, while state is used for managing data within a component.
Props are passed as attributes in JSX, while state is managed using setState method.
Example: props are u...
Yes, we can send the state from a child component to a parent component in React.
Use callback functions to pass data from child to parent
Parent component can pass a function as a prop to child component
Child component can call this function with the data to update parent's state
React Query is a library for managing server state in React applications.
React Query is used for fetching, caching, synchronizing and updating server state in React applications.
It provides hooks like useQuery and useMutation to interact with server data.
React Query helps in handling loading, error and stale data states efficiently.
Example: const { data, isLoading, isError } = useQuery('todos', fetchTodos)
React Query is used for managing server state and caching data in React applications.
Provides a powerful and flexible way to fetch, cache, and update data from APIs
Automatically handles caching, background refetching, and stale data management
Improves performance by reducing unnecessary network requests
Simplifies data fetching and updating logic in React components
useQuery is for fetching data from the server, useMutation is for making changes to the server data.
useQuery is used for fetching data from the server, while useMutation is used for making changes to the server data.
useQuery is read-only and does not modify data on the server, while useMutation is used for updating, creating, or deleting data on the server.
useQuery is typically used for GET requests, while useMutation ...
A simple To-Do application built with React to manage tasks efficiently.
Use functional components and hooks like useState for state management.
Create an input field to add new tasks, e.g., <input type='text' />.
Display tasks in a list using the map function, e.g., {tasks.map(task => <li>{task}</li>)}.
Implement a delete function to remove tasks, e.g., const deleteTask = (index) => { ... }.
Style t...
Yes, custom hooks are reusable functions in React that allow you to extract component logic into separate functions.
Custom hooks are created by prefixing the function name with 'use' and can be used to share logic between components.
They can be used to manage state, side effects, and other features in functional components.
For example, a custom hook can be created to fetch data from an API and handle loading and error ...
I applied via Internshala and was interviewed in Jun 2023. There were 3 interview rounds.
Questions answers regarding hiring
Talent Acquisition is crucial for finding and attracting the right talent to drive organizational success.
Talent Acquisition helps identify and hire top performers
It ensures a diverse and inclusive workforce
Effective Talent Acquisition reduces turnover and improves employee retention
It plays a key role in employer branding and reputation
Talent Acquisition helps align talent with organizational goals and culture
Top trending discussions
I applied via Naukri.com and was interviewed before Aug 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed in Jul 2021. There were 3 interview rounds.
Reversing a string involves rearranging its characters in the opposite order, which can be done using various methods.
Use built-in functions: In Python, you can reverse a string with slicing: `reversed_string = original_string[::-1]`.
Iterative approach: Loop through the string from the end to the beginning and build a new string.
Using recursion: Define a function that calls itself with a smaller substring until it reac...
I applied via Campus Placement and was interviewed in Aug 2021. There was 1 interview round.
Dynamic professional with diverse experience in management, team leadership, and strategic planning, eager to contribute to organizational success.
Over 5 years of experience in management roles, leading teams to achieve operational goals.
Successfully implemented a new project management system that improved efficiency by 30%.
Strong background in customer service, enhancing client satisfaction scores by 20% through effe...
Python is a high-level, interpreted programming language known for its simplicity, readability, and versatility.
Python is used for web development, data analysis, artificial intelligence, and more.
It has a large standard library and supports multiple programming paradigms.
Python code is often shorter and easier to read than other languages.
It uses indentation to indicate code blocks instead of curly braces or keywords.
...
High-level languages are programming languages that are easier to read and write than low-level languages.
High-level languages are closer to human language than machine language.
They are easier to learn and use than low-level languages.
Examples of high-level languages include Java, Python, and C++.
HCL Technologies is a leading global IT services company based in India, specializing in software development and IT consulting.
Founded in 1976, HCL is one of India's original IT services companies.
HCL operates in over 50 countries, providing services to clients across various industries.
The company focuses on innovation and has invested heavily in R&D, exemplified by its HCL Innovation Labs.
HCL's services include ...
posted on 2 Mar 2022
Good Practice
I appeared for an interview in Nov 2020.
Round duration - 120 minutes
Round difficulty - Medium
This was an online coding, mcq and debugging round round held on Amcat platform, there were 3 sections in the test.
1)20 MCQ questions {10 involving mathematics and the other 10 on programming fundamentals}; duration:20 mins;
you cannot navigate back to a questions after moving further, so have to answer carefully
2)debugging section- it involved 7 questions which were to be completed within 20 mins, 5 of them were very easy, each question only took almost a minute to figure out the problem with the code, last 2 questions were relatively moderate and there were errors at 3-4 sections of the entire code. I was able to solve all the questions in 15 mins
3)2 Coding questions- duration:80 mins, one was moderate on string while the other one involved dynamic programming, I was able to successfully execute all the available test cases.
Given two strings, S
and X
, your task is to find the smallest substring in S
that contains all the characters present in X
.
S = "abdd", X = "bd"
Find the smallest substring in S that contains all characters in X.
Use a sliding window approach to find the smallest window in S containing all characters of X.
Maintain a hashmap to keep track of characters in X and their frequencies.
Slide the window by moving the right pointer until all characters in X are found, then move the left pointer to minimize the window size.
Return the smallest window found.
Example: S = 'abd...
You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one...
Find the smallest sum achievable by selecting one element from each row of a 2D matrix, following certain constraints.
Iterate through each row and find the minimum element that does not violate the constraints.
Keep track of the minimum sum achieved by selecting elements from each row.
Avoid selecting elements directly beneath previously selected elements.
Round duration - 45 minutes
Round difficulty - Hard
The interview started with introduction, there were two interviewers, they both introduced themselves and then asked me to introduce myself. Then we had a brief description on my projects, and they really appreciated my projects. Then as they were more concerned with DSA part, so we moved towards solving a coding problem. It was a famous rotten oranges problem with some change in language but as I haven't seen it beforehand, I wasn't able to give them an optimal approach and had to ask for some hints, but with a certain amount of help and hints, I was able to solve the problem and successfully coded it in 5 mins. Then the interviewers went for a dry run of the algorithm and tried to run it on each and every corner case, but as my algorithm was kind of bullet proof, it successfully passed all the corner cases.
Then they went for some questions on OOPS concepts involving inheritance and we had a long discussion on virtual function and runtime polymorphism. Then the interview was ended after a Q/A round that lasted for 3-4 minutes.
Given a grid containing oranges in three possible states:
Every second, any fresh orange adjac...
Given a grid with fresh and rotten oranges, determine the minimum time for all oranges to become rotten.
Create a queue to store the coordinates of rotten oranges and perform BFS to rot adjacent fresh oranges
Track the time taken to rot all oranges and return -1 if some fresh oranges remain
Handle edge cases like empty grid or no fresh oranges present
Example: For input grid = [[2,1,1],[1,1,0],[0,1,1]], the minimum time to...
Tip 1 : Try to keep yourself involved in competitive programming on regular basis {ex-Codechef, codeforces etc}
Tip 2 : brush up concepts on DSA and practice at least all questions from interviewbit and around 300 questions from GFG and Leetcode of upto intermediate level, this will help you in building your concepts and you will be quickly able to answer the questions in face to face interviews
Tip 3 : Complete some courses on data structures and algorithms and some programming languages{coding ninjas courses are preferable for valuable content}
Tip 1 : Try to keep only those things in resume on which you have very good command and you should be able to answer all of the questions(upto moderate level) related to your technical skills
Tip 2 : Mention your projects with brief description, try avoiding very high level description because some times reader might not be able to understand your work, keep it descriptive and understandable
based on 4 interview experiences
Difficulty level
Duration
Associate Talent Acquisition
3
salaries
| ₹2 L/yr - ₹6.5 L/yr |
HR Executive Recruiter
3
salaries
| ₹1.7 L/yr - ₹2.8 L/yr |
TCS
Accenture
Wipro
Cognizant