i
TechAffinity
Filter interviews by
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 com...
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 ...
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...
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
HashSet and TreeSet are Java collections used for storing unique elements with different performance characteristics.
HashSet: Implements Set interface, allows null values, and offers O(1) time complexity for basic operations.
Example: HashSet<String> hashSet = new HashSet<>(); hashSet.add("Apple");
TreeSet: Implements NavigableSet interface, maintains elements in sorted order, and offers O(log n) time co...
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...
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...
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
Top trending discussions
posted on 15 Jul 2022
I applied via Referral and was interviewed before Jul 2021. There were 3 interview rounds.
If you are a fresher , then this is for you else almost no coding test for experienced candidates.
Genral aptitude questions
I applied via Naukri.com and was interviewed before Sep 2023. There were 2 interview rounds.
Developed a web application for tracking personal fitness goals and progress.
Used React.js for front-end development
Implemented RESTful APIs for data retrieval and storage
Utilized MongoDB for database management
Yes, faced challenges with debugging complex code and integrating third-party APIs.
Debugging complex code with multiple dependencies
Integrating third-party APIs with inconsistent documentation
Resolving compatibility issues between different software components
posted on 11 Jan 2025
Coding Rount
DSA Round + Puzzle
SQL + Project Discussion
JS
posted on 19 Feb 2025
I appeared for an interview before Feb 2024.
Ten reasoning questions, ten quantitative questions, and fifteen technical questions involving pseudo code, for a total of thirty-five questions to be completed in thirty minutes.
Three questions to solve test cases from LeetCode and similar platforms: one from arrays, one from strings, and one from stacks.
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 3 Jun 2024
I applied via Campus Placement and was interviewed before Jun 2023. There were 2 interview rounds.
Basic aptitude test and was unproctored
based on 2 interview experiences
Difficulty level
Duration
based on 3 reviews
Rating in categories
Softwaretest Engineer
36
salaries
| ₹4.1 L/yr - ₹10.5 L/yr |
Software Engineer
33
salaries
| ₹3 L/yr - ₹9 L/yr |
Senior Software Engineer
29
salaries
| ₹5.2 L/yr - ₹16.2 L/yr |
Software Developer
16
salaries
| ₹3.9 L/yr - ₹8.4 L/yr |
UI/UX Designer
13
salaries
| ₹3.2 L/yr - ₹11.4 L/yr |
Saama Technologies
Jumio
DISYS
Data-Core Systems