Social Network Likes Count
Asked at Lead Bank · Coding Questions · Difficulty: Easy
The first row represents `bob` liked `mary` 6 times, and `mary` liked `bob` 4 times. Design a data structure to store these likes data and implement a function to input two user names, returning the number of likes the first user gave to the second user.
Loading the problem…
More Lead Bank interview questions
- Social Likes: Best Friends and Friend Recommendations
- Stock Tick Store with Updates and Percentage Changes
- Social Network Recommendation
- Design an Event Store with CRUD and Sorted Insert (Binary Search) + Pagination
- Calendar Event System with Pagination and Interval Queries
- Two-Team Turn-Based Battle Simulator