Filter interviews by
I applied via Walk-in and was interviewed before Dec 2023. There was 1 interview round.
I applied via Walk-in and was interviewed before Oct 2023. There were 2 interview rounds.
A static function is a function that is associated with a class rather than an instance of the class.
Static functions can be called without creating an instance of the class.
They are commonly used for utility functions that do not require access to instance-specific data.
Static functions are declared using the 'static' keyword in many programming languages.
Example: 'Math.max()' in JavaScript is a static function.
Design pattern is a reusable solution to a commonly occurring problem in software design.
Design patterns help in creating maintainable, scalable, and reusable code.
They provide a common language for developers to communicate about solutions.
Examples include Singleton, Factory, Observer, and Strategy patterns.
Architectural pattern is a reusable solution to a recurring problem in software architecture design.
Architectural patterns provide guidelines and best practices for structuring software systems.
Examples include Model-View-Controller (MVC), Layered Architecture, and Microservices.
They help in organizing code, improving scalability, and enhancing maintainability.
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can override or extend the functionality of the base class
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.
I applied via Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.
1hr
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
posted on 17 Jul 2024
Hooks are functions that let you use state and other React features in functional components.
Hooks were introduced in React 16.8.
useState() hook is used to add state to functional components.
useEffect() hook is used for side effects in functional components.
Custom hooks can be created to reuse logic across components.
Developing features of Shopping Cart page like add to cart,remove from cart
based on 3 interviews
Interview experience
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant