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 applied via Company Website and was interviewed in Dec 2024. There were 2 interview rounds.
Html, CSS, bootstrap, JavaScript, react.js
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.
I applied via Referral and was interviewed in May 2021. There was 1 interview round.
React hooks are functions that allow functional components to use state and lifecycle methods.
Introduced in React 16.8
useState() hook for managing state
useEffect() hook for lifecycle methods
useContext() hook for accessing context
useReducer() hook for managing complex state
Custom hooks for reusable logic
Reconciliation is the process of updating the virtual DOM with changes made to the actual DOM.
Reconciliation is a process that React uses to update the UI efficiently.
It compares the previous and current states of the virtual DOM and updates only the necessary changes to the actual DOM.
Reconciliation is a key feature of React that makes it fast and efficient.
For example, when a user types in a search box, React updates...
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