i
CognitiveClouds
Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2023. There were 4 interview rounds.
Asked to write 2 easy DSA coding question and Questions on React.js
Again 2 easy DSA and few questions on web developement.
1 easy DSA round and questions on React.
Sorting a string and array
Use the sort() method to sort an array
Use the split() method to convert a string to an array
Use the join() method to convert an array to a string
Create a collection of objects from given data
Iterate through the data and create an object for each item
Assign the relevant properties to each object
Push each object to an array to create the collection
Top trending discussions
I appeared for an interview in Mar 2025, where I was asked the following questions.
Objects are key-value pairs with string keys, while Maps allow any data type as keys and maintain insertion order.
Objects can only have string or symbol keys, while Maps can have keys of any type (e.g., objects, functions).
Maps maintain the order of elements based on insertion, whereas objects do not guarantee order.
Maps have a size property that returns the number of key-value pairs, while objects require manual count...
Custom hooks can be created as functions or components, each serving different purposes in React.
Custom hooks as functions: They encapsulate reusable logic and can use other hooks internally.
Example: function useFetch(url) { const [data, setData] = useState(null); useEffect(() => { fetch(url).then(...); }, [url]); return data; }
Custom hooks as components: They can manage state and lifecycle methods but are less comm...
The inset property in CSS is a shorthand for setting the top, right, bottom, and left properties simultaneously.
The inset property can take values in pixels, percentages, or other units, e.g., inset(10px 20px 30px 40px).
It can also accept the 'auto' value, e.g., inset(auto).
When used, it positions an element relative to its nearest positioned ancestor.
The inset property is particularly useful for creating responsive la...
useTransition and useDeferredValue are hooks for managing UI transitions and deferred updates in React.
useTransition allows you to mark updates as non-urgent, improving user experience during state changes.
Example: const [isPending, startTransition] = useTransition();
useDeferredValue lets you defer a value update until the browser is idle, preventing blocking UI.
Example: const deferredValue = useDeferredValue(value);
Bo...
Meta tags provide metadata about the HTML document, influencing SEO and responsive design, including viewport settings.
Meta tags are placed in the <head> section of an HTML document.
They provide information like character set, author, and description.
Example: <meta name='description' content='This is a sample webpage.'>
Viewport meta tag controls layout on mobile browsers.
Example: <meta name='viewport' co...
CSS can be used to adapt layouts for portrait and landscape orientations using media queries and flexible units.
Media Queries: Use CSS media queries to apply different styles based on the orientation. Example: `@media (orientation: landscape) { /* styles */ }`.
Flexbox: Utilize flexbox properties to create responsive layouts that adjust based on the screen orientation. Example: `display: flex; flex-direction: row;` for ...
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Feb 2024. There was 1 interview round.
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
posted on 27 Jun 2024
Redux is a predictable state container for JavaScript apps.
Redux helps manage the state of an application in a predictable way
It allows for a single source of truth for the state
Actions are dispatched to update the state through reducers
Example: createStore, combineReducers, applyMiddleware
useEffect variants are different ways to use the useEffect hook in React for handling side effects.
useEffect with empty dependency array for running only once on mount
useEffect with dependency array for running on specific dependencies change
useEffect with cleanup function for cleaning up side effects
useEffect with return function for cleanup on unmount
posted on 10 Jul 2024
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Hooks are a feature in React that allow you to use state and other React features in functional components.
Hooks were introduced in React 16.8.
They allow you to use state and other React features without writing a class component.
Commonly used hooks include useState, useEffect, useContext, and useReducer.
Hooks must be used at the top level of a functional component.
Hooks can be custom created as well.
Life cycle methods are methods that are called at different stages of a component's life cycle in React.
Mounting phase: constructor, render, componentDidMount
Updating phase: shouldComponentUpdate, render, componentDidUpdate
Unmounting phase: componentWillUnmount
Basic coding nd programming and moderate level
based on 2 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
52
salaries
| ₹4 L/yr - ₹11 L/yr |
Associate Software Engineer
46
salaries
| ₹4 L/yr - ₹8 L/yr |
Software Developer
11
salaries
| ₹3.6 L/yr - ₹12 L/yr |
IOS Developer
9
salaries
| ₹2.4 L/yr - ₹11.6 L/yr |
Lead
9
salaries
| ₹23 L/yr - ₹24 L/yr |
Accenture
Wipro
Cognizant
Capgemini