i
Seasia
Infotech
Filter interviews by
Reducer is a pure function that takes the previous state and an action, and returns the new state in Redux.
Reducers specify how the application's state changes in response to actions sent to the store.
They are pure functions that take the previous state and an action, and return the new state.
Reducers should not modify the previous state, but return a new object if the state changes.
Redux uses a single root reduce...
Use useState hook to manage state in functional components
Import useState hook from React
Declare state variable using useState hook
Use state variable and setState function to update state
Pass state variable and setState function as props to child components if needed
Hooks are a new feature in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use React state and lifecycle methods inside functional components
They allow you to reuse stateful logic across multiple components
useState is a hook that lets you add state to functional components
useEffect is a hook that lets you use lifecycle methods in functional c...
Redux is a predictable state container for JavaScript apps.
Redux is a library for managing application state.
It provides a central store for all the state in an application.
State changes are made through actions, which are dispatched to the store.
Reducers are pure functions that take the current state and an action, and return the new state.
Selectors are functions that extract data from the state.
Middleware can be...
useEffect is a hook in React that allows performing side effects in functional components.
useEffect is used to perform side effects in functional components.
It takes two arguments: a function and an array of dependencies.
The function is executed after every render cycle.
The array of dependencies is used to specify when the effect should be re-executed.
An empty array [] means the effect should only be executed once...
Life cycle methods are functions that are invoked at various stages of a component's existence in React.Js.
There are three categories of life cycle methods: mounting, updating, and unmounting.
Mounting methods are called when a component is being created and inserted into the DOM.
Updating methods are called when a component is being re-rendered due to changes in its props or state.
Unmounting methods are called when...
Hooks are a new feature in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use React state and lifecycle methods inside functional components
They allow you to reuse stateful logic across multiple components
useState is a hook that lets you add state to functional components
useEffect is a hook that lets you use lifecycle methods in functional compon...
Use useState hook to manage state in functional components
Import useState hook from React
Declare state variable using useState hook
Use state variable and setState function to update state
Pass state variable and setState function as props to child components if needed
useEffect is a hook in React that allows performing side effects in functional components.
useEffect is used to perform side effects in functional components.
It takes two arguments: a function and an array of dependencies.
The function is executed after every render cycle.
The array of dependencies is used to specify when the effect should be re-executed.
An empty array [] means the effect should only be executed once, on ...
Life cycle methods are functions that are invoked at various stages of a component's existence in React.Js.
There are three categories of life cycle methods: mounting, updating, and unmounting.
Mounting methods are called when a component is being created and inserted into the DOM.
Updating methods are called when a component is being re-rendered due to changes in its props or state.
Unmounting methods are called when a co...
Redux is a predictable state container for JavaScript apps.
Redux is a library for managing application state.
It provides a central store for all the state in an application.
State changes are made through actions, which are dispatched to the store.
Reducers are pure functions that take the current state and an action, and return the new state.
Selectors are functions that extract data from the state.
Middleware can be used...
Reducer is a pure function that takes the previous state and an action, and returns the new state in Redux.
Reducers specify how the application's state changes in response to actions sent to the store.
They are pure functions that take the previous state and an action, and return the new state.
Reducers should not modify the previous state, but return a new object if the state changes.
Redux uses a single root reducer fun...
Top trending discussions
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
SQL questions and query output.
posted on 29 Jan 2021
I applied via Naukri.com and was interviewed in Jul 2020. There were 5 interview rounds.
JUnit test cases for different scenarios
Identify different scenarios to be tested
Write test cases for each scenario
Ensure test cases cover all possible outcomes
Use assertions to verify expected results
Mock dependencies if necessary
posted on 2 Mar 2022
I appeared for an interview in Mar 2022.
An interceptor is a middleware component that intercepts incoming and outgoing HTTP requests in an application.
Interceptors can be used for logging, authentication, error handling, and modifying requests/responses.
In Angular, interceptors can be used to add headers to HTTP requests or handle errors globally.
In Spring framework, interceptors can be used for pre-processing and post-processing of requests.
Interceptors are...
Functional interfaces in Java are interfaces with a single abstract method, used for lambda expressions and method references.
Functional interfaces can be found in the java.util.function package.
Examples of functional interfaces include Consumer, Supplier, Predicate, and Function.
Functional interfaces can be identified by the @FunctionalInterface annotation.
Gateway implementation in Spring Boot allows for routing and filtering of incoming requests to different microservices.
Use Spring Cloud Gateway for implementing gateway in Spring Boot
Define routes and filters in application.properties or application.yml
Example: routes: - id: my_route uri: http://localhost:8080 predicates: - Path=/my_route/**
Example: filters: - AddRequestHeader=X-Request-Foo, Bar
posted on 2 Apr 2022
I applied via Approached by Company and was interviewed before Apr 2021. There were 4 interview rounds.
posted on 8 Jun 2022
Pattern program and general output questions
posted on 15 May 2024
I appeared for an interview before Feb 2023.
I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.
I appeared for an interview before Mar 2021.
Round duration - 30 minutes
Round difficulty - Medium
This was a MCQ round. 30 ques in 30 mins consisting of difficult quantitative aptitude questions were to be solved.
Round duration - 60 minutes
Round difficulty - Medium
In this test round, 2 coding questions were given. Either write the code or pseudo code
Given an integer N
, find all possible placements of N
queens on an N x N
chessboard such that no two queens threaten each other.
A queen can attack another queen if they ar...
The N Queens Problem involves finding all possible placements of N queens on an N x N chessboard without threatening each other.
Use backtracking algorithm to explore all possible configurations.
Keep track of rows, columns, and diagonals to ensure queens do not threaten each other.
Generate all valid configurations and print them out.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity should be O(N) and space complexity should be O(1).
Round duration - 60 minutes
Round difficulty - Easy
This was a technical round with questions on DSA.
You are given a string of length N
. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...
Reverse words in a string while handling leading, trailing, and multiple spaces.
Split the input string by spaces to get individual words
Reverse the order of the words
Join the reversed words with a single space in between
You are provided with the head of a linked list containing integers. Your task is to determine if the linked list is circular.
Detect if a given linked list is circular by checking if it forms a closed loop.
Traverse the linked list using two pointers, one moving at double the speed of the other.
If the two pointers meet at any point, the linked list is circular.
If the faster pointer reaches the end of the list (NULL), the linked list is not circular.
Round duration - 30 minutes
Round difficulty - Easy
HR round with typical behavioral problems.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
based on 1 review
Rating in categories
Software Developer
39
salaries
| ₹1.1 L/yr - ₹6.9 L/yr |
Associate Consultant
25
salaries
| ₹2.1 L/yr - ₹4 L/yr |
Senior Consultant
16
salaries
| ₹5.4 L/yr - ₹13.3 L/yr |
Devops Engineer
13
salaries
| ₹3 L/yr - ₹10 L/yr |
Software Engineer
12
salaries
| ₹3.7 L/yr - ₹8.8 L/yr |
Tekwissen
Softenger
XcelServ Solutions
Capital Numbers Infotech