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 applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
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 appeared for an interview in Oct 2024.
React Query is a library for managing server state in React applications, while Redux is a state management library for managing client-side state.
React Query is specifically designed for managing server state, making it easier to fetch, cache, and update data from APIs.
Redux is a more general-purpose state management library that can be used for managing client-side state in a predictable way.
React Query provides buil...
Interface is for defining object shapes and types, while type is for creating aliases for existing types.
Interface is used for defining the structure of an object in TypeScript.
Type is used to create aliases for existing types, making code more readable and reusable.
Interfaces can be extended or implemented, while types can be used to create union types or intersection types.
Interfaces are open for extension, while typ...
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Redux tool kit and redux
posted on 8 Nov 2024
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
CORS error occurs when a web application makes a request to a different domain than the one it originated from.
CORS stands for Cross-Origin Resource Sharing
It is a security feature implemented by browsers to prevent unauthorized access to resources on a different domain
CORS error can be resolved by configuring the server to include the appropriate CORS headers in the response
Common CORS error messages include 'Access-C...
Callback hell refers to the difficulty of managing nested callbacks in asynchronous programming, leading to complex and unreadable code.
Callback hell occurs when multiple nested callbacks are used, making code hard to read and maintain.
Example: A series of asynchronous operations that depend on each other, leading to deep nesting.
Using Promises or async/await can help flatten the structure and improve readability.
Examp...
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure cases.
Promises help in avoiding callback hell and writing cleaner asynchronous code.
based on 2 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
52
salaries
| ₹5 L/yr - ₹10.4 L/yr |
Associate Software Engineer
48
salaries
| ₹4 L/yr - ₹8 L/yr |
Software Developer
11
salaries
| ₹5 L/yr - ₹12 L/yr |
IOS Developer
9
salaries
| ₹2.8 L/yr - ₹10.9 L/yr |
Lead
9
salaries
| ₹23 L/yr - ₹24 L/yr |
Accenture
Wipro
Cognizant
Capgemini