Filter interviews by
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 LinkedIn
I applied via Naukri.com and was interviewed in Nov 2020. There were 3 interview rounds.
Remove duplicate elements from an Array
Use the Set object to remove duplicate elements
Convert the Set back to an array using the spread operator
If the array contains objects, use a custom comparison function
Use the accept attribute in the input tag to only allow jpg and png files.
Add accept attribute to input tag with 'image/jpeg, image/png' value
This will restrict file selection to only jpg and png files
Use flexbox to center align a div in just one line in CSS.
Set the parent container's display property to flex.
Use the justify-content property with the value 'center' to horizontally center the div.
Use the align-items property with the value 'center' to vertically center the div.
Use React Router's Redirect component to redirect to login page if user is not logged in.
Create a PrivateRoute component that checks if user is logged in
If user is not logged in, redirect to login page using Redirect component
Wrap the routes that require authentication with PrivateRoute component
I applied via Approached by Company and was interviewed in Feb 2022. There was 1 interview round.
I applied via LinkedIn
Redux is a predictable state container for JavaScript apps.
Redux is a library for managing application state
It provides a centralized store for all the state of an application
It uses a single source of truth principle
It allows for predictable state changes through actions and reducers
It is commonly used with React for building complex UIs
jQuery is a fast, small, and feature-rich JavaScript library.
jQuery simplifies HTML document traversing, event handling, and animating.
It provides a set of methods for AJAX interactions and DOM manipulation.
jQuery is cross-platform and supports a wide range of browsers.
It has a large community and a vast number of plugins available.
Project architecture depends on the specific project and its requirements.
Form validation in React ensures user input is correct before submission.
Use controlled components to manage form state
Create validation functions to check input
Display error messages for invalid input
Disable submit button until form is valid
Consider using a library like Formik or Yup for easier validation
React hooks are functions that allow functional components to use state and lifecycle methods.
Hooks were introduced in React 16.8
useState() is a hook that allows state to be used in functional components
useEffect() is a hook that allows lifecycle methods to be used in functional components
Custom hooks can be created to reuse stateful logic across components
I applied via Indeed and was interviewed in Aug 2022. There was 1 interview round.
Spread operator allows an iterable to be expanded in places where zero or more arguments are expected. Rest operator collects all the remaining elements into an array.
Spread operator is denoted by three dots (...)
Spread operator can be used to copy an array or object
Rest operator is also denoted by three dots (...) and is used in function parameters to collect all remaining arguments into an array
Pure functions are functions that always return the same output for the same input and have no side effects.
Always return the same output for the same input
Have no side effects, meaning they do not modify external state or variables
Pure functions are predictable and easier to test and debug
Create a corouesel with react
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Full Stack Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Node Js Backend Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
InstaReM
Ria Money Transfer
Wise Payments
PayPal