Skip to content

SecureAuditX/customer-intersection-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Customer Intersection Algorithm

This project demonstrates a basic intersection algorithm to find common customer IDs who have made purchases in both branches of a company.

Features

  • Efficient two-pointer traversal for sorted lists
  • Handles duplicate elimination
  • Demonstrates real-life use of intersection logic

Example

Branch A: [101, 104, 105, 108, 120]
Branch B: [102, 104, 105, 110, 120]
✅ Output: [104, 105, 120]

How to Run

python src/main.py

License

This project is licensed under the MIT License.

About

Find common customers between two branches using intersection algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages