Filter interviews by
Be the first one to contribute and help others!
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 Recruitment Consulltant and was interviewed in Jan 2022. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
What is HTTPS and how it work in backend creation
I applied via Company Website and was interviewed before Jan 2022. There were 3 interview rounds.
Event Loop is a mechanism in JavaScript that manages the execution of code and handles asynchronous operations.
Event Loop continuously checks the call stack and the message queue.
If the call stack is empty, it takes the first message from the queue and pushes it onto the call stack.
If the message is a callback function, it is executed and removed from the call stack.
If the message is not a callback function, it is pass...
Use CSS to make a set of 6 boxes responsive
Use percentage or viewport units for width and height
Use media queries to adjust styles for different screen sizes
Consider using flexbox or grid for layout
Avoid using fixed pixel values
Test on different devices and browsers
Use CSS frameworks like Bootstrap or Foundation for easier implementation
I applied via LinkedIn
I applied via Naukri.com and was interviewed in Oct 2022. There were 4 interview rounds.
How revere the string without using reverse method
Split duplication from the array
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 Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.
1hr
TCS
Accenture
Wipro
Cognizant