Standard Library: Algorithms and Data Structures
Status: active reference for algorithm-related builtins.
Core Collections
set_new,set_add,set_containsqueue_new,queue_push,queue_popstack_new,stack_push,stack_poppq_new,pq_push,pq_pop_min
Disjoint Set / Range Structures
dsu_new,dsu_find,dsu_unionsegtree_new,segtree_update,segtree_querysegtree_lazy_new,segtree_lazy_add,segtree_lazy_querysegtree_dynamic_new,segtree_dynamic_add,segtree_dynamic_querysparse_table_new,sparse_table_querylichao_new,lichao_add,lichao_query
Graph Algorithms
graph_new,graph_add_edge,graph_neighborsgraph_bfs,graph_dijkstra,graph_astar,graph_dials,graph_zero_one_bfsgraph_floyd_warshall,graph_scc,graph_toposortgraph_bridges,graph_articulation_points
String / Sequence Algorithms
kmp_search,z_function,manacher_lps,suffix_arrayrabin_karp,rolling_hash_table,rolling_hash_subwindow_sum_fixed,window_min,window_max
Math / Number Theory
gcd,lcm,pow_mod,is_prime,sievepollard_rhofft_convolve,ntt_convolve
Classic DP / Search Helpers
lis_length,knapsack_01lower_bound,upper_boundlist_range
Test Coverage
The crate includes dedicated tests for algorithm and graph behavior:
naux-lang/tests/algo_std.rsnaux-lang/tests/graph_algo.rsnaux-lang/tests/sparse_table_tests.rs
Source of Builtin Registration
Builtin names are registered in naux-lang/src/stdlib/ modules via env.set_builtin(...).