i
TechAffinity
Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
A set is an unordered collection of unique elements, while a list is an ordered collection of elements that may contain duplicates.
Sets do not allow duplicate elements, while lists can have duplicate elements.
Sets are unordered, meaning the elements do not have a specific order, while lists maintain the order of elements.
Sets are typically used when the existence of an element is more important than the order or freque...
An interceptor is a software design pattern that allows for pre-processing and post-processing of requests and responses.
Interceptors can be used for logging, authentication, authorization, caching, error handling, and more
They can intercept HTTP requests and responses in web applications
Examples include Angular HTTP interceptors, Spring Interceptors in Java, and Axios interceptors in JavaScript
Spring Security is a powerful and customizable authentication and access control framework for Java applications.
Provides comprehensive security services for Java EE-based enterprise software applications
Supports authentication, authorization, and protection against common security vulnerabilities
Integrates with Spring Framework for seamless security configuration
Allows for easy customization and extension through conf...
The workflow of the project involves planning, development, testing, and deployment.
Planning phase includes gathering requirements and creating a project plan.
Development phase involves writing code and implementing features.
Testing phase includes unit testing, integration testing, and user acceptance testing.
Deployment phase involves releasing the software to production environment.
Iterative process with feedback loop
Use a sorting algorithm like quicksort or mergesort to sort the list in descending order.
Implement a sorting algorithm like quicksort or mergesort to sort the list in descending order.
Modify the comparison function to sort the elements in descending order.
Ensure the sorting algorithm is efficient and handles edge cases like duplicate elements.
Comparable is better for natural ordering, while Comparator is better for custom ordering.
Comparable is used to define the natural ordering of objects, while Comparator is used to define custom ordering.
Comparable is implemented by the class whose objects need to be compared, while Comparator is implemented by a separate class.
Comparable uses the compareTo() method to compare objects, while Comparator uses the compare(...
Spring AOP is a programming paradigm that allows separating cross-cutting concerns from the main application logic.
Spring AOP enables modularization of concerns such as transaction management, logging, security, etc.
It allows defining aspects (cross-cutting concerns) and applying them to multiple classes.
AspectJ is a popular implementation of AOP in Spring framework.
Example: Using AOP to log method execution time acros
HashSet is an unordered collection of unique elements, while TreeSet is a sorted set implemented using a tree structure.
HashSet does not maintain any order of elements, while TreeSet maintains elements in sorted order.
HashSet allows null values and is generally faster for adding, removing, and checking for existence of elements.
TreeSet does not allow null values and provides efficient operations for finding the smalles...
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
I applied via campus placement at Army Institute of Technology, Pune and was interviewed in Oct 2024. There were 3 interview rounds.
There was a coding round and out of 75 students 28 got selected for next round
posted on 5 Aug 2024
I applied via Job Portal and was interviewed in Feb 2024. There were 3 interview rounds.
30 mins Aptitude Question
30 mins - 3 Coding Question
Rest API is a set of rules and conventions for building and interacting with web services using HTTP methods.
Rest API stands for Representational State Transfer Application Programming Interface.
It uses standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations.
RESTful APIs use URLs to access resources, and return data in JSON or XML format.
Stateless communication allows for scalability and flexibilit...
Response codes indicate the status of a HTTP request. 200 & 201 are success codes, while 400 & 403 are client error codes.
200 - OK: Request was successful
201 - Created: Request was successful and a new resource was created
400 - Bad Request: The server cannot process the request due to a client error
403 - Forbidden: The server understood the request, but refuses to authorize it
I applied via Naukri.com and was interviewed in Dec 2023. There was 1 interview round.
posted on 28 Sep 2024
60min of aptitude and coding test
2 questions on coding test
posted on 7 Mar 2023
Singleton design pattern restricts the instantiation of a class to a single instance and provides global access to it.
Used when only one instance of a class is required throughout the application
Provides a global point of access to the instance
Implemented using a private constructor, static method, and static variable
Example: Logger class, Database connection class
C# LINQ queries for group and sum data from data table
Use GroupBy() method to group data based on a specific column
Use Sum() method to calculate the sum of a column
Use Select() method to select the required columns
Solid design principles are a set of guidelines for writing maintainable and scalable code.
Single Responsibility Principle (SRP) - each class should have only one responsibility
Open/Closed Principle (OCP) - classes should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - subclasses should be able to replace their parent classes without affecting the program's correctness
Interface Se...
posted on 19 Apr 2023
I applied via campus placement at CMR Institute of Technology, Bangalore and was interviewed in Mar 2023. There were 5 interview rounds.
Basic aptitude questions and questions on React
Asked for printing patterns in a loop
posted on 21 Sep 2022
Simple String or list releted questions for Arranging a string some conditions wise
To count number after decimal value in Python, use string manipulation or math module.
Use string manipulation to count number of digits after decimal point
Use math module to round off the number and then subtract the original number to get the digits after decimal point
Example: num = 3.14159, str_num = str(num), decimal_index = str_num.index('.') + 1, digits_after_decimal = len(str_num) - decimal_index
I applied via Cocubes and was interviewed in Jan 2022. There were 2 interview rounds.
Most rounds were regarding English proficiency and 1 round regarding logical reasoning
based on 4 reviews
Rating in categories
Softwaretest Engineer
36
salaries
| ₹4.1 L/yr - ₹10.5 L/yr |
Software Engineer
35
salaries
| ₹2.1 L/yr - ₹11.5 L/yr |
Senior Software Engineer
33
salaries
| ₹5.2 L/yr - ₹14 L/yr |
Software Developer
14
salaries
| ₹1.8 L/yr - ₹7.3 L/yr |
Team Lead
9
salaries
| ₹6.5 L/yr - ₹15.5 L/yr |
TCS
Infosys
Wipro
HCLTech