Filter interviews by
Top trending discussions
posted on 8 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
Object-oriented programming concepts that focus on data encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details
I want to switch to explore new technologies and challenges in a different industry.
Interested in learning new skills and technologies
Seeking new challenges and opportunities for growth
Want to explore different industry perspectives
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs focuses on creating objects that interact with each other to solve a problem
It involves concepts like classes, objects, inheritance, encapsulation, and polymorphism
Example: In a banking system, a 'BankAccount' class can have objects like 'SavingsAccount' and 'CheckingAccount'
HashMap internally uses an array of linked lists to store key-value pairs, with keys being hashed to determine the index in the array.
HashMap uses hashing to determine the index of the key in the array.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap allows null keys and values.
HashMap is not synchronized, use ConcurrentHashMap for thread-safe operations.
Stream API is a feature in Java that allows processing collections of objects in a functional style.
Stream API is used to process collections of objects in a functional style.
Stream API provides a set of methods to perform operations on the elements of a collection.
Stream API supports operations like filter, map, reduce, and collect.
Stream API is part of the java.util.stream package in Java.
posted on 22 Feb 2024
It will be a discussion on design. HLD
I applied via campus placement at National Institute of Technology (NIT), Tiruchirappalli and was interviewed before Nov 2023. There were 3 interview rounds.
2 medium dsa questions 1 hour time
I applied via campus placement at Indian Institute of Technology (IIT), Kharagpur and was interviewed before Apr 2023. There were 2 interview rounds.
Normal DS Algo on HackerEarth
I applied via Recruitment Consultant and was interviewed in Nov 2021. There were 3 interview rounds.
Sort strings based on custom hierarchy
Create a mapping of each character to its hierarchy value
Sort the strings based on the hierarchy value of their first character
If the first characters have the same hierarchy value, move to the next character
Repeat until all strings are sorted
Heap is a region of memory used for dynamic memory allocation.
Heap is managed by the operating system or runtime environment.
It allows for allocation and deallocation of memory at runtime.
Heap can become fragmented over time, leading to performance issues.
Examples include malloc() and new() in C++.
Hashing is a process of converting data into a fixed-size output using a mathematical function.
Hashing is used for data integrity and security purposes.
Hash functions are one-way functions, meaning it is difficult to reverse engineer the original data from the hash value.
Hashing is used in password storage, digital signatures, and data comparison.
Examples of hash functions include MD5, SHA-1, and SHA-256.
Different types of joins and a SQL query.
Types of joins: Inner join, Left join, Right join, Full outer join, Cross join
Inner join returns only the matching rows from both tables
Left join returns all rows from the left table and matching rows from the right table
Right join returns all rows from the right table and matching rows from the left table
Full outer join returns all rows from both tables
Cross join returns the Ca...
Compiler translates entire code into machine code while interpreter translates line by line.
Compiler converts source code into executable code without executing it.
Interpreter converts source code into machine code line by line and executes it.
Compiler generates error messages after the entire code is compiled.
Interpreter generates error messages as soon as it encounters an error in the code.
Examples of compilers are G...
I applied via Referral and was interviewed in Apr 2021. There were 4 interview rounds.
Weak reference is a reference that does not prevent the object from being garbage collected.
Weak references are used to refer to objects that can be garbage collected if there are no strong references to them.
They are typically used in scenarios where you want to hold a reference to an object, but don't want to prevent it from being collected.
Weak references are implemented using weak reference queues, which allow you ...
Singleton pattern ensures a class has only one instance, while allowing global access to it.
Implement a private constructor to prevent direct instantiation.
Create a static method to provide a single point of access to the instance.
Use lazy initialization to create the instance only when needed.
Ensure thread safety in a multithreaded environment using synchronization or double-checked locking.
Breaking the singleton patt...
Annotations used in Spring Framework for defining components and services.
Annotations like @Component, @Service, and @Controller are used for defining components in Spring Framework.
@RestController is used for defining RESTful web services.
@Configuration is used for defining configuration classes.
@Transactional is used for defining transactional methods.
All these annotations help in defining and managing dependencies i
HashSet is implemented using a HashMap internally. Same hashcode is generated when two objects have the same value for hashCode() and equals() methods.
HashSet internally uses a HashMap to store its elements.
The hashcode of an object is generated using the hashCode() method.
If two objects have the same value for hashCode() and equals() methods, they will generate the same hashcode.
For example, if two String objects have...
SQL Cursor is a database object used to manipulate data row by row.
Cursor is used to fetch and process data row by row
Index is a database object used to speed up data retrieval
Aggregate functions are used to perform calculations on a set of values
Examples of aggregate functions are SUM, AVG, COUNT, MAX, MIN
Generate palindrome string with given length and distinct characters.
Create a char array of length n and fill it with distinct characters.
Loop through the array and add the characters in reverse order to create a palindrome.
Repeat the process until the required number of palindromes are generated.
If k is less than the length of the palindrome, use the first k distinct characters.
Find the highest value that occurs the same number of times within an array.
Iterate through the array and count the occurrences of each value.
Store the counts in a dictionary or hash map.
Find the maximum count and check which value(s) have that count.
Return the highest value among those with the maximum count.
Count occurrences of a character in a string and output in a specific format.
Use a hash table to store the count of each character.
Loop through the string and update the count in the hash table.
Create the output string using the hash table.
Converts a string from Camel case to Snake case.
Loop through the string and check for uppercase letters
Insert an underscore before each uppercase letter
Convert the string to lowercase
Logic to get Map using Stream API to show balance of each person
Use Stream API to group accounts by name
Use map() to get the sum of balances for each group
Collect the results into a Map
based on 4 reviews
Rating in categories
DOT NET Developer
28
salaries
| ₹2.2 L/yr - ₹4.2 L/yr |
Software Developer
25
salaries
| ₹1.8 L/yr - ₹4.1 L/yr |
Angular Developer
16
salaries
| ₹2 L/yr - ₹3.6 L/yr |
Softwaretest Engineer
11
salaries
| ₹1 L/yr - ₹3.6 L/yr |
Junior Officer
10
salaries
| ₹2.4 L/yr - ₹3.6 L/yr |
Muthoot Finance
Muthoot Fincorp
Shriram Finance
Bajaj Finance