Filter interviews by
I appeared for an interview in Apr 2024.
Invariants in Java are conditions that must always be true at a certain point in a program's execution.
Invariants help ensure the correctness of a program by defining conditions that should always hold true.
They are typically used in loops, data structures, and class invariants.
For example, in a stack data structure, an invariant could be that the stack is never empty when popping an element.
Customized collections in Java can be created by implementing the Collection interface or extending existing collection classes.
Implement the Collection interface and provide custom implementations for methods like add, remove, contains, etc.
Extend existing collection classes like ArrayList or LinkedList and override methods as needed.
Consider using generics to ensure type safety and reusability of the customized colle...
Code to find anagram strings in an array of strings
Iterate through the array of strings
Sort each string alphabetically
Store sorted strings in a hashmap with original string as key
Return values of hashmap as list of anagram strings
Distributed transactions in core Java involve coordinating multiple transactional resources across different systems.
Distributed transactions involve multiple transactional resources across different systems.
Java provides support for distributed transactions through APIs like JTA (Java Transaction API) and JTS (Java Transaction Service).
Distributed transactions ensure ACID properties (Atomicity, Consistency, Isolation,...
Throttling in REST API is a technique used to limit the number of requests a client can make within a certain timeframe.
Throttling helps prevent server overload and ensures fair usage of resources.
Common methods of throttling include rate limiting, concurrency limiting, and request queuing.
For example, setting a rate limit of 100 requests per minute for a specific endpoint.
Throttling can be implemented at the API gatew...
Top trending discussions
I applied via Walk-in and was interviewed before Jul 2020. There were 3 interview rounds.
I applied via Referral and was interviewed in Feb 2020. There were 6 interview rounds.
I applied via Recruitment Consultant and was interviewed before May 2020. There were 3 interview rounds.
Clone a linked list with random pointers.
Create a new node for each node in the original list.
Store the mapping between the original and cloned nodes in a hash table.
Traverse the original list again and set the random pointers in the cloned list using the hash table.
Return the head of the cloned list.
My ambition is to grow as a professional, contribute meaningfully, and lead innovative projects that make a positive impact.
I aim to develop my skills in project management, ensuring successful delivery of initiatives.
I aspire to lead a team, fostering collaboration and creativity to achieve common goals.
I want to contribute to sustainable practices in my field, such as implementing eco-friendly solutions.
I envision my...
I applied via Naukri.com and was interviewed in Jan 2022. There were 2 interview rounds.
I applied via Referral and was interviewed in Nov 2023. There were 3 interview rounds.
I applied via Approached by Company and was interviewed in Jan 2024. There were 4 interview rounds.
LeetCode style DS Algo Questions
Data Structures and Algorithms
based on 1 interview experience
Difficulty level
based on 1 review
Rating in categories
Amazon Sellers Services
Primus Global Technologies
GAMMON INDIA
Magneti Marelli Motherson Auto System