Filter interviews by
I applied via Indeed and was interviewed before Mar 2023. There was 1 interview round.
React is a JavaScript library for building user interfaces.
React is developed and maintained by Facebook.
It allows developers to create reusable UI components.
React uses a virtual DOM for better performance.
It follows a component-based architecture.
React can be used to build single-page applications.
Functional components are stateless and use functional programming concepts, while class components are stateful and use ES6 classes.
Functional components are simpler and easier to read/write compared to class components.
Functional components do not have access to 'this' keyword, while class components do.
Functional components are pure functions, while class components can have lifecycle methods.
Example: Functional com...
Find the 2nd largest element in an array of strings.
Convert the strings to integers for comparison.
Sort the array in descending order.
Return the element at index 1 as the 2nd largest.
Use a Set to remove duplicate values from an array of strings.
Create a Set from the array to automatically remove duplicates
Convert the Set back to an array if needed
Example: ['apple', 'banana', 'apple', 'orange'] -> ['apple', 'banana', 'orange']
Top trending discussions
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Walk-in and was interviewed before Sep 2019. There were 5 interview rounds.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
based on 1 interview
Interview experience
based on 13 reviews
Rating in categories
Data Analyst
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Solution Developer
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Project Manager
5
salaries
| ₹0 L/yr - ₹0 L/yr |
QA Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Tech Mahindra
HCLTech
TCS
Infosys