Skip to content

Instantly share code, notes, and snippets.

View erhanyasar's full-sized avatar
🏠
Working from home

Erhan Yaşar erhanyasar

🏠
Working from home
View GitHub Profile
/*
Given Brief
# Find a total ordered quantity of a product for every weekday
You are asked to improve the analytics of an e-commerce platform: calculating a total quantity of a given product ordered should be added.
# Task
Implement `OrdersAnalyzer.totalQuantity(orders, productId)` method which