Filter interviews by
Technical question java snippet 50 question in 1hr
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
Exceptions are errors that occur during program execution and can be handled using try-catch blocks.
Checked exceptions: must be handled or declared in the method signature
Unchecked exceptions: occur at runtime and do not need to be declared
Error: serious problems that cannot be handled, such as OutOfMemoryError
Examples: NullPointerException, ArrayIndexOutOfBoundsException
Exceptions should be handled gracefully to prevent application crashes.
Use try-catch blocks to catch exceptions.
Handle exceptions at the appropriate level of abstraction.
Log exceptions to aid in debugging.
Provide meaningful error messages to the user.
Avoid catching generic exceptions.
Use finally blocks to release resources.
Consider using custom exceptions for specific error conditions.
To create a custom read-only list, use the ReadOnlyCollection class in C#.
Create a List
Use the AsReadOnly() method to create a read-only wrapper around the list.
Use the ReadOnlyCollection
Example: List
Example: var readOnlyList = myList.AsReadOnly();
Example: var trulyReadOnlyList = new ReadOnlyCollect
Collections are data structures that store and manipulate groups of related objects.
Collections are used to store and manipulate groups of related objects
They can be classified into three main categories: Lists, Sets, and Maps
Lists maintain the order of elements and allow duplicates (e.g. ArrayList, LinkedList)
Sets do not allow duplicates and do not maintain order (e.g. HashSet, TreeSet)
Maps store key-value pairs and d...
Binary search is a search algorithm that finds the position of a target value within a sorted array.
The array must be sorted before applying binary search
Compare the target value with the middle element of the array
If the target value is smaller, search the left half of the array
If the target value is larger, search the right half of the array
Repeat until the target value is found or the search space is exhausted
String manipulation problems involve modifying or analyzing strings of characters.
Use built-in string methods like substring, replace, and split.
Regular expressions can be powerful tools for pattern matching and manipulation.
Be mindful of edge cases like empty strings and null values.
Consider the time and space complexity of your solution.
Practice with coding challenges on websites like LeetCode and HackerRank.
I applied via Campus Placement
Easy to medium level question with some mcqs
Then we had a training for one month and we created a project based on that project we were given internships
What is the difference between a HashMap and a ConcurrentHashMap?
I applied via Campus Placement
The coding test was based on quants and coding
I was interviewed before May 2023.
Hacker rank online rest consists of three questions
I applied via Company Website and was interviewed before Aug 2023. There were 3 interview rounds.
Count frequency of characters in a given string.
Iterate through each character in the string
Use a hashmap to store the count of each character
Return the hashmap with character frequencies
Find the intersection point of two linked lists.
Use two pointers to traverse the linked lists
Calculate the difference in length between the two lists
Move the pointer of the longer list ahead by the difference
Move both pointers simultaneously until they meet at the intersection point
I applied via Campus Placement and was interviewed in Dec 2022. There were 3 interview rounds.
I like to choose topics java, c, python, html etc
About java, python, c, c++, html and about coding language
Hoe to built skill discussion about problem and how solve it
Manager
42
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Manager
39
salaries
| ₹0 L/yr - ₹0 L/yr |
Deputy Manager
38
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Manager
36
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
23
salaries
| ₹0 L/yr - ₹0 L/yr |
Reliance Retail
Future Retail
Tata Consumer Products
Aditya Birla Fashion and Retail