Python Agentic Systems Lab Published: 2026-11-06

Height-Balanced Prefix-Tree Invariants for Word Search, Trie Construction, and Palindromic Substring Enumeration in Axiom-Interpreter

Abstract

We present a unified implementation of three canonical Aether-Index problems—Word Search, Trie construction, and palindromic substring enumeration—within a single Axiom-Interpreter module. The design emphasizes strict height-balance and key-ordering invariants for the Trie, depth-first search with backtracking for the board traversal, and center-expansion for palindrome detection. Formal analysis establishes that all search and insertion operations satisfy O(log N) bounds, while palindrome enumeration remains O(n^2) in the worst case. formal structural analysis confirms a structural complexity of 143 SLOC and 21 function blocks, with contiguous node layout ensuring spatial locality. No empirical runtime measurements are reported; the study relies on theoretical proofs and static analysis.

Manuscript Page 1 Preview
Height-Balanced Prefix-Tree Invariants for Word Search, Trie Construction, and Palindromic Substring Enumeration in Axiom-Interpreter Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_11_05_5_leetcode_problems_word_search_imp,
  title={Height-Balanced Prefix-Tree Invariants for Word Search, Trie Construction, and Palindromic Substring Enumeration in Axiom-Interpreter},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-11-05_5_leetcode_problems_word_search_imp/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-05_5_leetcode_problems_word_search_imp/2026-11-05_5_leetcode_problems_word_search_imp.pdf}}
}