Filter interviews by
Clear (1)
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Merge sort has a time complexity of O(n log n) in the worst case scenario.
Merge sort divides the array into two halves, sorts them recursively, and then merges them back together.
The time complexity of merge sort is O(n log n) in the worst case scenario.
For example, sorting an array of 8 elements would take 3 recursive calls to merge sort.
Create a palindrome checker using React JS to display on the UI
Create a input field for user to enter a string
Use state to store the input string
Create a function to check if the input string is a palindrome
Display the result on the UI
Javascript question on promise, callbacks, hosting
I was interviewed before Dec 2020.
Round duration - 360 minutes
Round difficulty - Medium
Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through possible allocations and calculate the maximum pages assigned to a student.
Find the minimum of these maximums to get the optimal allocation.
Return the minimum pages allocated in each test case, or -1 if not possible.
Tip 1 : Good understanding of Data Structure and Algorithms
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .
Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page
I applied via Walk-in and was interviewed in Apr 2024. There were 3 interview rounds.
Javascript array questions like palindrom and others with aptitude
Data can be shared between components in React using props, context, or state management libraries like Redux.
Use props to pass data from parent to child components
Use context to share data across multiple components without passing props manually
Use state management libraries like Redux to manage global state and share data between components
Prop drilling is the process of passing data through multiple levels of components in React.
Prop drilling occurs when a component needs to pass data to a deeply nested child component.
It can lead to code that is hard to maintain and understand.
One way to avoid prop drilling is by using Context API or Redux for state management.
Redux is a predictable state container for JavaScript apps.
Redux stores the entire state of an application in a single immutable object.
State changes are made by dispatching actions, which are plain JavaScript objects.
Reducers specify how the application's state changes in response to actions.
Redux flow: Action -> Reducer -> Store -> View
I was interviewed in Jan 2025.
Semantic elements in HTML provide meaning to the content, making it easier for search engines and screen readers to interpret.
Semantic elements are HTML tags that clearly define the content they wrap.
They provide structure and meaning to the content, making it more accessible and SEO-friendly.
Examples include <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>, <
HTML5 is the latest version of HTML with new features and improvements.
HTML5 supports new elements like <header>, <footer>, <nav>, <article>, <section> etc.
HTML5 supports new input types like email, url, date, range, color etc.
HTML5 supports new APIs like Geolocation, Web Storage, Web Workers, Canvas, Audio/Video etc.
Data can be passed in components using props in Vue.js and React.js.
In Vue.js, data can be passed down to child components using props.
In React.js, data can be passed down to child components using props as well.
In Vue.js, props are defined in the parent component and passed down to the child component.
In React.js, props are passed down from parent to child components as attributes.
I was interviewed in Jan 2025.
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted.
Example: console.log(myVar); var myVar = 10; // Output: undefined
Example: console.log(myFunc()); function myFunc() { return 'Hello!'; } // Output: Hello!
Using map function to apply a callback function to each element in an array
Map function is used to iterate over an array and apply a callback function to each element
The callback function can perform operations on each element and return a new value
Example: arr.map(item => item * 2) will double each element in the array
Flexbox is best for one-dimensional layouts, Grid is best for two-dimensional layouts, DOM is the structure of a webpage, Box model is the layout of elements.
Flexbox is best for creating one-dimensional layouts like navigation bars or sidebars.
Grid is best for creating two-dimensional layouts like grids of images or cards.
DOM (Document Object Model) is the structure of a webpage, representing the elements as objects.
Bo...
I applied via Naukri.com and was interviewed in Nov 2022. There were 3 interview rounds.
An aptitude test is a way for employers to assess a candidate's abilities through a variety of different testing formats. Aptitude tests will test your ability to perform tasks and react to situations at work. This includes problem-solving, prioritisation and numerical skills, amongst other things.
An assignment is the transfer of rights or property. In financial markets, it is a notice to an options writer that the option has been exercised.
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
React is a JavaScript library for building user interfaces.
React allows for the creation of reusable UI components
It uses a virtual DOM for efficient rendering
React is declarative, making it easier to understand and debug code
Creating a simple app using Redux for state management in a front end application.
Set up Redux store with reducers and actions
Connect components to Redux store using mapStateToProps and mapDispatchToProps
Dispatch actions to update state in Redux store
Use combineReducers to manage multiple reducers
Agile process involves iterative development, frequent collaboration, and adaptability to changes.
Daily stand-up meetings to discuss progress and roadblocks
Sprints for focused development and testing
Continuous feedback and iteration based on user input
Use of tools like Jira or Trello for project management
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Reverse the given array of strings
Use the reverse() method to reverse the array in place
Alternatively, you can use a for loop to iterate through the array and build a new reversed array
To call an API and print data in React, use fetch or axios to make the API call and then render the data in the component.
Use fetch or axios to make the API call in React component
Store the API response data in state using useState hook
Render the data in the component using JSX
based on 1 interview
Interview experience
Consultant
7.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
4.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
3.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
2.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Cognizant
PwC
Capgemini