i
UST
Filter interviews by
I applied via Approached by Company and was interviewed in Sep 2024. There were 2 interview rounds.
Using stream and lambda to find numbers starting with 1 from list of Integers.
Use stream to filter the list of Integers based on the condition that the number starts with 1.
Use lambda expression to define the condition for filtering.
Convert the filtered numbers to strings and store them in an array.
Merge two lists of integers and remove duplicates in the result list.
Create a new list to store the merged result.
Iterate through each element in both lists and add them to the result list if they are not already present.
Use a set to keep track of duplicates and avoid adding them to the result list.
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split(
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
Java is a programming language used for developing applications. Static methods in Java are methods that belong to the class rather than an instance of the class.
Java is a popular programming language used for developing various types of applications.
Static methods in Java are methods that can be called without creating an instance of the class.
Static methods are commonly used for utility functions or methods that do n
Program to print prime numbers
Iterate through numbers and check if each number is prime
Use a nested loop to check divisibility by numbers less than the current number
Print the number if it is prime
posted on 10 Jul 2024
90 min test containing verbal, Quantitative aptitude and question based on diagrams
I prefer programming languages like Python and Java for their versatility and widespread use in the industry.
I prefer Python for its simplicity, readability, and vast libraries for various tasks.
I also like Java for its strong typing, object-oriented approach, and cross-platform compatibility.
I am open to learning new languages as needed for specific projects or tasks.
posted on 17 Dec 2024
posted on 17 Apr 2024
I applied via Company Website and was interviewed in Mar 2024. There were 3 interview rounds.
We will get one assessment link which have 2 coding questions.
We get another link for aptitude test after clearing first assessment only.
posted on 24 Mar 2023
posted on 10 Dec 2022
I applied via campus placement at Jaipur Engineering College & Research Centre, Jaipur and was interviewed in Dec 2022. There were 3 interview rounds.
OOPS AND DSA QUESTION
I applied via Company Website and was interviewed in Aug 2021. There were 4 interview rounds.
based on 8 reviews
Rating in categories
Software Developer
2k
salaries
| ₹3.5 L/yr - ₹12.1 L/yr |
Senior Software Engineer
1.6k
salaries
| ₹6.5 L/yr - ₹26 L/yr |
Software Engineer
1.3k
salaries
| ₹3.7 L/yr - ₹14.6 L/yr |
System Analyst
1.2k
salaries
| ₹6.5 L/yr - ₹22.2 L/yr |
Senior Software Developer
1.1k
salaries
| ₹5.5 L/yr - ₹19.6 L/yr |
TCS
Infosys
Wipro
HCLTech