<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Akshat Aggarwal — Blogs</title><description>Akshat Aggarwal, Software Engineer 2 at Intuit in Bengaluru working on distributed systems, data platforms, and reliable APIs.</description><link>https://akshataggarwal.is-a.dev/</link><item><title>Postgres Indexes: Why Column Order Matters</title><link>https://akshataggarwal.is-a.dev/blogs/postgres-indexes-why-column-order-matters/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/postgres-indexes-why-column-order-matters/</guid><description>The same columns can be fast or useless depending on order: B-tree column order in practice.</description><pubDate>Sun, 01 Feb 2026 00:00:00 GMT</pubDate><category>PostgreSQL</category><category>databases</category></item><item><title>A Missing PostgreSQL Index</title><link>https://akshataggarwal.is-a.dev/blogs/a-missing-postgresql-index/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/a-missing-postgresql-index/</guid><description>A missing index turned a pre-release test into a production fire, and the zero-downtime fix.</description><pubDate>Thu, 31 Jul 2025 00:00:00 GMT</pubDate><category>PostgreSQL</category><category>databases</category></item><item><title>AuthZ in production</title><link>https://akshataggarwal.is-a.dev/blogs/authz-in-production/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/authz-in-production/</guid><description>RBAC vs ABAC, policy-as-code, and OPA: how authorization works in production systems.</description><pubDate>Thu, 31 Jul 2025 00:00:00 GMT</pubDate><category>Security</category><category>security</category></item><item><title>Using PostgreSQL CTEs</title><link>https://akshataggarwal.is-a.dev/blogs/using-postgresql-ctes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/using-postgresql-ctes/</guid><description>A practical guide to writing readable, correct queries with PostgreSQL common table expressions.</description><pubDate>Tue, 29 Apr 2025 00:00:00 GMT</pubDate><category>PostgreSQL</category><category>databases</category></item><item><title>How do you win at Nim?</title><link>https://akshataggarwal.is-a.dev/blogs/nim-game-notes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/nim-game-notes/</guid><description>From one pile to three: winning and losing positions, and the xor rule that decides them all.</description><pubDate>Wed, 19 Jul 2023 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How does Mo&apos;s algorithm answer range queries?</title><link>https://akshataggarwal.is-a.dev/blogs/mos-algorithm-notes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/mos-algorithm-notes/</guid><description>Offline sqrt decomposition for range queries: complexity analysis, the odd-even trick, and Mo&apos;s with updates.</description><pubDate>Sun, 02 Apr 2023 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>What is a trie, and why use one?</title><link>https://akshataggarwal.is-a.dev/blogs/trie-notes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/trie-notes/</guid><description>Prefix trees for autocomplete, spellcheck, and xor queries — structure, tradeoffs, and Codeforces problems.</description><pubDate>Sat, 16 Jul 2022 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How does centroid decomposition work?</title><link>https://akshataggarwal.is-a.dev/blogs/centroid-decomposition/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/centroid-decomposition/</guid><description>Divide and conquer on trees: centroids, centroid trees, and path queries.</description><pubDate>Sun, 26 Jun 2022 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How do you find the diameter of a tree?</title><link>https://akshataggarwal.is-a.dev/blogs/tree-diameter-and-center/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/tree-diameter-and-center/</guid><description>Tree diameter via two BFS runs, counting diameters, and finding the center — with proofs.</description><pubDate>Sat, 25 Jun 2022 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>Why do we need Fenwick trees?</title><link>https://akshataggarwal.is-a.dev/blogs/fenwick-tree-notes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/fenwick-tree-notes/</guid><description>Prefix sums with point updates in O(log n): how the Binary Indexed Tree earns its keep.</description><pubDate>Sun, 19 Jun 2022 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How does a segment tree work?</title><link>https://akshataggarwal.is-a.dev/blogs/segment-tree-notes/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/segment-tree-notes/</guid><description>Build, query, and update a segment tree for range sums, with diagrams and C++ you can steal.</description><pubDate>Thu, 17 Feb 2022 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How does Dijkstra&apos;s algorithm work?</title><link>https://akshataggarwal.is-a.dev/blogs/graph-shortest-paths/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/graph-shortest-paths/</guid><description>From BFS on weighted graphs to Dijkstra, multisource Dijkstra, cycles, and spanning trees.</description><pubDate>Sun, 10 Oct 2021 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item><item><title>How do you store and traverse a graph?</title><link>https://akshataggarwal.is-a.dev/blogs/graph-representations-and-traversal/</link><guid isPermaLink="true">https://akshataggarwal.is-a.dev/blogs/graph-representations-and-traversal/</guid><description>Representations, DFS, BFS, connected components, and multisource BFS — with C++ and dry runs.</description><pubDate>Sun, 26 Sep 2021 00:00:00 GMT</pubDate><category>CP</category><category>dsa</category></item></channel></rss>