i
FIS
Filter interviews by
I applied via Approached by Company and was interviewed in May 2022. There were 3 interview rounds.
Top trending discussions
I applied via Company Website and was interviewed in May 2024. There were 2 interview rounds.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class
Provide a public static method to access the instance
Ensure the constructor is private to prevent instantiation of multiple objects
2 sum problem in Java involves finding two numbers in an array that add up to a specific target value.
Use a HashMap to store the difference between the target value and each element in the array.
Iterate through the array and check if the current element's complement exists in the HashMap.
Return the indices of the two numbers that add up to the target value.
To make a class immutable, ensure that its state cannot be changed after instantiation.
Make all fields private and final
Do not provide setter methods
Ensure that any mutable objects within the class are also made immutable
Cyclomatic complexity is a software metric used to measure the complexity of a program.
It measures the number of linearly independent paths through a program's source code.
It helps in identifying complex code that may be difficult to maintain or test.
A higher cyclomatic complexity indicates a higher risk of errors and bugs in the code.
It is calculated using the formula: E - N + 2P, where E is the number of edges, N is ...
I applied via campus placement at National Institute of Technology (NIT), Raipur and was interviewed in Nov 2024. There were 3 interview rounds.
The DSA round happens with pseudo code
posted on 4 Nov 2024
I applied via LinkedIn and was interviewed in Oct 2024. There were 3 interview rounds.
Questions were based on basic aptitude like seating arrangement
I applied via Company Website
2 DSA medium questions was asked.
2 DSA coding questions and CS fundamentals
The topic was -> "One nation one election"
String pool in Java is a pool of unique strings stored in memory to optimize memory usage.
String pool is a part of Java's memory where unique string literals are stored.
When a new string is created, Java checks if it already exists in the pool to save memory.
Strings created using double quotes are added to the pool, while those created using 'new' keyword are not.
Example: String str1 = "hello"; String str2 = "hello"; /...
Java has checked and unchecked exceptions. Checked exceptions must be handled at compile time, while unchecked exceptions do not need to be handled explicitly.
Checked exceptions: Must be caught or declared in the method signature. Example: IOException, SQLException
Unchecked exceptions: Do not need to be caught or declared. Example: NullPointerException, ArrayIndexOutOfBoundsException
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
LRU cache with multi level caching involves implementing a cache with multiple levels of storage, where the least recently used items are evicted first.
Implement a two-level cache system with a primary cache (e.g. in-memory) and a secondary cache (e.g. disk-based).
Use a data structure like a doubly linked list and a hash map to efficiently manage the cache and track the least recently used items.
When an item is accesse...
posted on 9 Feb 2024
I was interviewed in Jan 2024.
based on 1 review
Rating in categories
Senior Software Engineer
2.7k
salaries
| ₹7 L/yr - ₹29 L/yr |
Software Engineer
1.6k
salaries
| ₹4.1 L/yr - ₹16 L/yr |
Lead Engineer
677
salaries
| ₹7.3 L/yr - ₹26.4 L/yr |
Team Member
675
salaries
| ₹1.5 L/yr - ₹6 L/yr |
Senior Leader Engineer
629
salaries
| ₹9.9 L/yr - ₹30.5 L/yr |
TCS
Infosys
Wipro
HCLTech