Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2022. There were 2 interview rounds.
Generics in C# allow for type-safe programming by enabling the creation of reusable code.
Generics allow for the creation of classes, interfaces, and methods that can work with any data type.
They provide type safety by allowing the compiler to enforce type constraints.
Examples include List
Generics can improve performance by reducing the need for boxing and unboxing operations.
Delegates are reference types that hold a reference to a method. They are used to achieve loose coupling and event handling.
Delegates allow methods to be passed as parameters to other methods.
They can be used to define callback methods.
Built-in delegates in C# include Action, Func, Predicate, EventHandler, and Comparison.
Action and Func are used for methods that return void and non-void values respectively.
Predicate is...
Dictionary is a generic collection while Hashtable is a non-generic collection.
Dictionary is type-safe while Hashtable is not.
Dictionary allows null keys and values while Hashtable does not.
Dictionary is faster than Hashtable for small collections.
Hashtable is thread-safe while Dictionary is not.
Stored procedures are used to perform a set of actions, while functions return a single value.
Stored procedures can modify data in the database, while functions cannot.
Functions can be used in SQL statements, while stored procedures cannot.
Stored procedures can have input and output parameters, while functions can only have input parameters.
Functions can be called from within stored procedures, but stored procedures ca
Program to find the number of occurrences in a given string
Use a loop to iterate through the string and count the occurrences of each character
Store the count in a dictionary or hash table
Return the dictionary or hash table
RESTful services are web services that follow the REST architecture while WebAPI is a framework for building RESTful services.
RESTful services use HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations on resources
WebAPI is a framework for building RESTful services using .NET framework
WebAPI provides features like routing, model binding, content negotiation, etc.
RESTful services can be consumed by any clie...
Hashmap is a data structure that stores key-value pairs and uses hashing to map keys to their corresponding values.
Hashmap uses an array to store the key-value pairs
A hash function is used to map the key to an index in the array
Collisions can occur when two keys map to the same index, which can be resolved using techniques like chaining or open addressing
Hashmap provides constant time complexity for insertion, deletion
The @Autowired annotation is the most useful annotation used in Spring Boot and Spring JPA.
The @Autowired annotation is used for automatic dependency injection.
It eliminates the need for manual wiring of beans.
It can be used with constructors, fields, and methods.
Example: @Autowired private UserRepository userRepository;
Singleton and Factory patterns are creational patterns used in Java to create objects.
Singleton pattern ensures that only one instance of a class is created and provides a global point of access to it.
Factory pattern provides an interface for creating objects, but allows subclasses to decide which class to instantiate.
Singleton pattern can be implemented using private constructor, static method and static variable.
Fact...
posted on 31 Oct 2023
I applied via LinkedIn and was interviewed in Oct 2023. There were 2 interview rounds.
posted on 8 Feb 2024
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There were 2 interview rounds.
posted on 17 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
posted on 25 Apr 2024
I applied via LinkedIn and was interviewed before Apr 2023. There was 1 interview round.
Find lowest and highest number in an array efficiently
Use a loop to iterate through the array and keep track of the lowest and highest numbers
Initialize variables for lowest and highest numbers with the first element of the array
Compare each element with the current lowest and highest numbers and update accordingly
I applied via Referral and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Aug 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Feb 2021. There were 6 interview rounds.
based on 2 interviews
Interview experience
based on 8 reviews
Rating in categories
Junior Engineer
147
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Assistant Engineer
139
salaries
| ₹3.6 L/yr - ₹6.5 L/yr |
Lead Engineer
99
salaries
| ₹8.2 L/yr - ₹28 L/yr |
Senior Software Engineer
70
salaries
| ₹10.2 L/yr - ₹31 L/yr |
Deputy Engineer
56
salaries
| ₹5 L/yr - ₹8.2 L/yr |
JK Tyres
Faurecia
Hitachi Astemo
Valeo