<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data Structures on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/data-structures/</link>
    <description>Recent content in Data Structures on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 09 Sep 2025 19:03:47 -0400</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/data-structures/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Writing a B&#43; Tree in Zig</title>
      <link>https://www.bradcypert.com/writing-a-b-tree-in-zig/</link>
      <pubDate>Sun, 06 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/writing-a-b-tree-in-zig/</guid>
      <description>&lt;p&gt;When building an embedded database, one of the most critical decisions is choosing the right data structure for storage and retrieval. After implementing a complete B+ tree from scratch in Zig for LowkeyDB, I want to share the journey, the challenges, and the (hopefully) elegant solutions that emerged.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-a-b-tree-and-why-should-you-care&#34;&gt;What is a B+ Tree and Why Should You Care?&lt;/h2&gt;&#xA;&lt;p&gt;A B+ Tree is a self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time. It&#39;s the backbone of most modern database systems, including PostgreSQL, MySQL, and SQLite.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Brief Introduction to Tries</title>
      <link>https://www.bradcypert.com/a-brief-introduction-to-tries/</link>
      <pubDate>Fri, 30 Jun 2017 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/a-brief-introduction-to-tries/</guid>
      <description>&lt;p&gt;Hello there! Welcome back! Today I’m talking about Tries (pronounced “trys”). Tries are a type of search tree commonly used for storing and searching single characters that make up one or more strings. What make a trie interesting is that the first node contains an empty value and the descendants of a node have a common prefix associated with that node.&lt;/p&gt;&#xA;&lt;p&gt;Like most data structures, tries are easier to reason about when you have a picture to help explain it. Let’s take the word “propane” break it apart into a trie. Each character will be represented as a node.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
