-
Pendency is a system that is able to track counts of in-flight/in-progress entities.
-
The system is told when to start tracking a particular entity, and when to stop. And at any point the system can be asked how many entities are in-progress (or in-flight). The system is expected to give this count, as fast as possible
This is not the Code in actual interview.
Done as a practice for this problem statement.
Hence, design is done more thoughtfully.
-
Java8, Maven, IntelliJ(Community)
-
Driver class
TrackingServiceTest.java
-
All necessary code in
src
dir
- To understand the working, read Problem Statement thoroughly
- Then explore
dir
in this order:- Entities
- Repository
TrackingServiceTest.java
- Then, deeply go through Services