Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2024. There were 3 interview rounds.
1.Sum numbers in linked list
2. Maximum sum subarray
Implement a hashmap data structure in code.
Use an array to store key-value pairs
Implement a hash function to map keys to indices in the array
Handle collisions using techniques like chaining or open addressing
Design a platform similar to LinkedIn for professional networking.
Create user profiles with work experience, education, skills, and endorsements.
Allow users to connect with others, join groups, and follow companies.
Include features like job postings, messaging, news feed, and recommendations.
Implement algorithms for personalized content and job suggestions.
Ensure data privacy and security measures are in place.
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 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 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
Walmart interview questions for designations
Get interview-ready with Top Walmart Interview Questions
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Leetcode easy medium questions
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
3 coding questions medium difficulty
Implementing LRU Cache without using LinkedHashMap
Use a doubly linked list to maintain the order of keys based on their recent usage
Use a hashmap to store key-value pairs for quick access
When a new key is accessed, move it to the front of the linked list and update the hashmap accordingly
When the cache is full, remove the least recently used key from the end of the linked list and hashmap
Coding test was medium level
GCD is a low-level API for managing concurrent operations, while Operation Queue is a higher-level API built on top of GCD.
GCD is a C-based API for managing queues of tasks, while Operation Queue is an Objective-C class that provides a more object-oriented way to manage tasks.
GCD is more low-level and requires manual management of queues and tasks, while Operation Queue handles many of these details for you.
Operation Q...
Top trending discussions
4 Interview rounds
based on 111 reviews
Rating in categories
Software Engineer III
1.8k
salaries
| ₹14 L/yr - ₹47 L/yr |
Senior Software Engineer
1.2k
salaries
| ₹22.3 L/yr - ₹70 L/yr |
Software Engineer
770
salaries
| ₹12 L/yr - ₹40 L/yr |
Software Development Engineer 3
249
salaries
| ₹15.6 L/yr - ₹46 L/yr |
Assistant Team Leader
236
salaries
| ₹1.3 L/yr - ₹5 L/yr |
Amazon
Flipkart
Microsoft Corporation