Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Apr 2022. There were 5 interview rounds.
Top trending discussions
I was interviewed in Aug 2024.
Implement a linked list with methods to find the second largest and second smallest elements.
Create a linked list class with methods to insert elements, find second largest, and find second smallest.
Traverse the linked list to find the largest and smallest elements, then find the second largest and second smallest.
Handle edge cases such as empty list or lists with less than 2 elements.
Consider using a priority queue to...
Find the character with the highest frequency in a given string.
Iterate through the string and count the frequency of each character using a hashmap.
Track the character with the highest frequency as you iterate.
Return the character with the highest frequency at the end.
Find and print the longest common subsequence in an array of strings
Use dynamic programming to find the longest common subsequence
Iterate through the array of strings to find common characters
Print the longest common subsequence found
Solid design principles are fundamental guidelines for designing software that is maintainable, scalable, and efficient.
Follow the SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion)
Use design patterns like Factory, Singleton, Observer, etc. to solve common design problems
Keep code modular, reusable, and easy to understand
Separate concerns and avoid ti
I applied via Naukri.com and was interviewed in Jun 2024. There were 4 interview rounds.
DSA medium and Java Coding Questions
Frontend coding questions in Js and React js
ReactQuery is a library for managing server state in React applications.
Provides hooks for fetching, caching, and updating data from APIs
Automatically handles caching, background refetching, and stale data management
Improves performance by reducing unnecessary network requests
Yes, I have used useMemo and useCallback in React applications.
Used useMemo to memoize expensive calculations and prevent unnecessary re-renders.
Used useCallback to memoize functions and prevent unnecessary re-creations.
Example: const memoizedValue = useMemo(() => calculateValue(a, b), [a, b]);
Example: const memoizedFunction = useCallback(() => { doSomething(a, b); }, [a, b]);
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
2 coding questions were asked one on string to remove the nested parantheses and form string.
Second question was- I was given a mapping array and a num array
Mapping - {6,2,0,7,1,8,3,4,5,9}
NUM- {996, 25, 225}
Output- 553, 08, 008}
Callback method in Java allows passing a function as an argument to another function. Alternatives include using interfaces, lambda expressions, and method references.
Callback method allows passing a function as an argument to another function
Alternatives include using interfaces, lambda expressions, and method references
Example: Using Runnable interface in Java to pass a function as a callback
Hashmap is not thread-safe, while ConcurrentHashMap is thread-safe and allows for concurrent access.
Hashmap is not thread-safe and can lead to race conditions in a multi-threaded environment.
ConcurrentHashMap is thread-safe and allows for concurrent access by multiple threads without the need for external synchronization.
ConcurrentHashMap achieves thread-safety by dividing the map into segments, each of which can be lo...
You can invoke a method using a constructor by creating an instance of the class and calling the method, or by using a variable that holds a reference to the method.
Invoke method using constructor: ClassName obj = new ClassName(); obj.methodName();
Invoke method using variable: ClassName obj = new ClassName(); Runnable r = obj::methodName; r.run();
I applied via Naukri.com and was interviewed in Feb 2024. There were 4 interview rounds.
Ask you to implement any solution like caching using LRU or LFU
Its a manager round where they discuss about u=your past experiences and also they tell you about the project
I applied via Approached by Company and was interviewed in Oct 2024. There were 2 interview rounds.
Fragments can communicate among themselves using interfaces, shared view models, and activity callbacks.
Use interfaces to define communication contract between fragments
Implement the interface in the hosting activity and pass it to the fragments
Use shared view models to share data between fragments
Use activity callbacks like onActivityResult() to communicate between fragments
Find cycle in a linked list
based on 4 reviews
Rating in categories
Analyst
26
salaries
| ₹6.7 L/yr - ₹11 L/yr |
Senior Analyst
23
salaries
| ₹8 L/yr - ₹22.5 L/yr |
Senior Software Engineer
18
salaries
| ₹15 L/yr - ₹29 L/yr |
Lead Engineer
18
salaries
| ₹21 L/yr - ₹34.3 L/yr |
Senior Pricing Analyst
10
salaries
| ₹6.5 L/yr - ₹15 L/yr |
Reliance Retail
Future Group
Spencer's Retail
DMart