Fullstack Developer | CSS | JavaScript | React | Angular | Web3
I am available for technical writing at your blog and frontend development works.
Dec 14, 2025 · 5 min read · Caching is like having strategic storage spaces throughout a delivery system - from the neighborhood store to your kitchen pantry. Each level of caching serves a specific purpose in improving system performance. Let's explore each type with real-worl...
Join discussion
Oct 13, 2025 · 11 min read · While working on range query problems, I gained a solid understanding of how to use segment trees. Typically, we need to create a segment tree on the array. Then, I encountered the next challenge in the CSES problem set: Salary Queries, a problem ric...
Join discussion
Oct 5, 2025 · 4 min read · When moving from a normal segment tree to a lazy segment tree, the main goal is to support efficient range updates. In a standard segment tree, updating a range [l, r] requires visiting every affected leaf node, which is O(n) in the worst case. Lazy ...
Join discussion
Oct 5, 2025 · 6 min read · You might have solved problems that involve ranges and multiple queries, like finding the sum or minimum in a subarray repeatedly.If you’ve ever thought, “There must be a faster way than recalculating everything each time…” then Segment Tree is the...
Join discussion