Skip to content

alpha74/PendencySystem_JavaSpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pendency System

Machine Coding interview

  • 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

  • Pendency System - Complete Problem Statement

This is not the Code in actual interview.
Done as a practice for this problem statement.
Hence, design is done more thoughtfully.

Code/Run

  • Java8, Maven, IntelliJ(Community)

  • Driver class TrackingServiceTest.java

  • All necessary code in src dir

Understanding the Working

  • To understand the working, read Problem Statement thoroughly
  • Then explore dir in this order:
    1. Entities
    2. Repository
    3. TrackingServiceTest.java
    4. Then, deeply go through Services