Find Eligible Users Appearing on Both Days
Given loan logs for two days. Each log entry contains a user ID, userId, and a loan type, loanType.
Find every user who satisfies both conditions:
- The user appears in the logs of both Day 1 a...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
