Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Dynamic Product Pricing System

This is a simple system to manage and query product prices using a Segment Tree. It allows updates and range queries efficiently.

What I Learned

  • How to build and use Segment Trees
  • Updating elements and getting min/max in a range

Tech Stack

  • Java
  • Segment Tree

How it works

  • Build a segment tree from an array of prices
  • Update the price at a position
  • Query the max price in a given range

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages