New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Segment Trees Doubt
https://www.hackerearth.com/practice/data-structures/advanced-data-structures/segment-trees/practice-problems/algorithm/shivam-and-expensive-birthday-gift-da58b2f0/?purpose=login&source=problem-page&update=google Here's the problem link , can anyone pls help to know how to fix it I m getting WA , logic issue i guess but donno where exactly 🤔
1 Answer