Filter interviews by
I applied via Recruitment Consulltant and was interviewed before Aug 2023. There were 2 interview rounds.
Comparable is an interface used for natural ordering, while Comparator is an interface used for custom ordering in Java.
Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be compared.
Comparator interface is used to define custom ordering of objects. It is implemented by a separate class that compares objects of another class.
Example: String class ...
HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.
If multiple keys hash to the same index (collision), a linked list is used to store all key-value pairs at that index.
To ret...
To reverse a string, iterate through the characters and swap the first and last characters until reaching the middle.
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
String is immutable in order to ensure data integrity and security.
Immutable strings prevent accidental modification of data
Immutable strings allow for safe sharing of data between different parts of a program
Immutable strings help in thread safety and concurrent programming
Example: String str = "hello"; str.concat("world"); // This will create a new string instead of modifying the original
Arraylist is faster for accessing elements, while linked list is better for frequent insertions and deletions.
Arraylist uses contiguous memory allocation, allowing for faster access via index. Example: accessing elements by index.
Linked list uses nodes with pointers to the next element, making it better for frequent insertions and deletions. Example: adding elements to the middle of the list.
Arraylist has a fixed size,...
Java 8 introduced new features like lambda expressions, functional interfaces, and streams for more concise and efficient coding.
Lambda expressions allow for more concise code by enabling functional programming.
Functional interfaces are interfaces with a single abstract method, which can be implemented using lambda expressions.
Streams provide a way to process collections of objects in a functional style, allowing for p...
Annotations in Spring are used to provide metadata about the application's components.
Annotations are used to configure Spring beans, controllers, services, etc.
They help in reducing the configuration code and make the code more readable.
Examples include @Component, @Autowired, @RestController, @Service, etc.
Profiles in Spring Boot allow you to define different configurations for different environments.
Profiles help in managing configurations for different environments like development, testing, production, etc.
You can define profiles in application.properties or application.yml using 'spring.profiles.active' property.
Profiles can be activated using command line arguments, environment variables, or servlet context paramete...
Use ORDER BY clause in SQL to sort employees based on salary.
Use SELECT statement with ORDER BY clause
Specify the column name 'salary' after ORDER BY
Use ASC or DESC keyword to specify ascending or descending order
Component communication in Angular involves passing data between components using @Input, @Output, services, and event emitters.
Use @Input to pass data from parent to child component
Use @Output and EventEmitter to emit events from child to parent component
Use services to share data between components that are not directly related
Use RxJS subjects for more complex communication scenarios
Services in Angular are singleton objects that can be used to share data or functionality across components.
Services are used to encapsulate reusable functionality that can be injected into components or other services.
They are typically used for data sharing, communication with APIs, or other common tasks.
Services are defined using the @Injectable decorator in Angular.
Example: UserService that handles user authenticat
Top trending discussions
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 11 Jan 2025
Coding Rount
DSA Round + Puzzle
SQL + Project Discussion
JS
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 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
I applied via Naukri.com and was interviewed before Nov 2022. There was 1 interview round.
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
based on 14 reviews
Rating in categories
Senior Software Engineer
198
salaries
| ₹6 L/yr - ₹22 L/yr |
Software Engineer
100
salaries
| ₹4 L/yr - ₹12.8 L/yr |
System Analyst
37
salaries
| ₹10.2 L/yr - ₹20 L/yr |
Technical Lead
29
salaries
| ₹12 L/yr - ₹27 L/yr |
Senior System Analyst
14
salaries
| ₹12.2 L/yr - ₹17.5 L/yr |
Infosys
TCS
HCLTech
Tech Mahindra