i
Infosys
Filter interviews by
Choose functional components for simple UI and class components for complex UI with state and lifecycle methods.
Functional components are simpler and easier to read and test.
Class components are more powerful and can handle state and lifecycle methods.
Use functional components for simple UI elements like buttons, icons, and text.
Use class components for complex UI elements like forms, tables, and modals.
Consider using ...
The mostly used design patterns in JavaScript are Module, Observer, Singleton, Factory, and Prototype.
Module pattern helps to keep the code organized and maintainable.
Observer pattern is used for event handling and notification.
Singleton pattern restricts the instantiation of a class to a single instance.
Factory pattern provides an interface for creating objects in a superclass, but allows subclasses to alter the type ...
What people are saying about Infosys
posted on 17 Sep 2024
Java is a high-level programming language known for its platform independence.
Java is an object-oriented programming language developed by Sun Microsystems.
Java code is compiled into bytecode that can run on any Java Virtual Machine (JVM).
Java's platform independence is achieved through the use of JVM, allowing Java programs to run on any platform that has a JVM installed.
Examples of platform-independent Java applicati...
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
Supports the concept of parent and child classes
Derived class can override methods of the base class
Example: Class Car can inherit from class Vehicle
I applied via Recruitment Consulltant and was interviewed in Dec 2023. There were 2 interview rounds.
Higher Order functions in Swift are functions that can take other functions as parameters or return functions as results.
Higher Order functions allow for more concise and readable code.
Examples include map, filter, and reduce functions in Swift.
They promote functional programming principles like immutability and declarative code.
MVVM is a design pattern that separates the user interface from the business logic and data access layers.
Model represents the data and business logic
View displays the user interface elements
ViewModel acts as an intermediary between the Model and View, handling user interactions and updating the Model
Design patterns should be chosen based on the specific problem being solved and the characteristics of the project.
Identify the problem or requirement that needs to be addressed
Consider the characteristics of the project such as scalability, maintainability, and flexibility
Choose a design pattern that best fits the problem and project requirements
Some common design patterns include Singleton, Factory, Observer, and Str
I applied via Naukri.com and was interviewed in Oct 2022. There were 2 interview rounds.
1 hr test with mcq and coding snippet
Pointers are variables that store memory addresses of other variables in C programming language.
Pointers are used to manipulate data structures like arrays, linked lists, and trees.
They can be used to pass values by reference to functions.
Pointers can also be used to allocate memory dynamically using functions like malloc() and calloc().
A linked list program is a data structure that stores a sequence of elements with pointers to the next element.
Create a Node class with a value and a next pointer
Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes
Example: LinkedList ll = new LinkedList(); ll.add(5); ll.add(10); ll.remove(5);
Data structures are used to organize and manipulate data efficiently in various applications.
Data structures are used in databases to store and retrieve data quickly.
In computer graphics, data structures are used to represent geometric objects.
Data structures are used in algorithms such as sorting and searching.
In networking, data structures are used to represent network packets and routing tables.
Data structures are u...
Merge sort is a divide and conquer algorithm that recursively divides the input array into two halves, sorts them and then merges them.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Repeat until the entire array is sorted
Cloud computing is widely used in various industries for data storage, processing, and analysis.
Cloud computing allows for easy scalability and cost-effectiveness in managing large amounts of data.
Real-time collaboration and access to data from anywhere are some of the benefits of cloud computing.
Examples of cloud computing applications in real-world projects include Amazon Web Services (AWS), Microsoft Azure, and Goog...
I applied via Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.
I applied via Job Portal and was interviewed in Dec 2021. There were 4 interview rounds.
I applied via Company Website and was interviewed in Aug 2021. There were 4 interview rounds.
I applied via Recruitment Consultant and was interviewed in Oct 2021. There were 3 interview rounds.
HCL is a global IT services company providing software engineering and consulting services.
HCL is a multinational company headquartered in India.
They offer a wide range of IT services including software development, testing, and maintenance.
HCL has a strong presence in various industries such as healthcare, finance, and manufacturing.
They have partnerships with leading technology companies like Microsoft, IBM, and Orac...
posted on 25 Aug 2023
I applied via Referral and was interviewed before Aug 2022. There were 2 interview rounds.
posted on 13 Jan 2022
Explanation of concurrent hash map and compile time vs run time polymorphism
Concurrent hash map allows multiple threads to access and modify the map concurrently without any external synchronization
Method overloading is compile time polymorphism as the decision of which method to call is made by the compiler at compile time based on the number and types of arguments passed
Method overriding is run time polymorphism as t...
based on 7 reviews
Rating in categories
Technology Analyst
56.2k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.9k
salaries
| ₹2.8 L/yr - ₹6.4 L/yr |
System Engineer
39.1k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.3k
salaries
| ₹6.2 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture