6 个仓库
Algorithm implementations that avoid mutable state to ensure predictability and prevent side effects.
Distinct from Pure Functional Logic Implementations: Focuses on the stateless nature of the algorithms rather than general pure functional logic patterns
Explore 6 awesome GitHub repositories matching software engineering & architecture · Stateless Algorithm Implementations. Refine with filters or upvote what's useful.
AlgoXY 是一本函数式编程教育书籍和技术出版物,以 LaTeX 数字书籍形式制作。它作为一个编程教育资源和库,专注于函数式算法和数据结构。 该项目提供了一系列持久化数据结构(如树和堆),专为不可变状态管理而设计。它包含一系列实现练习和验证答案,通过函数式逻辑的实际应用来教授核心计算机科学概念。 内容涵盖了持久化数据结构的设计以及排序和搜索函数式算法的实现。这些材料以使用 LaTeX 构建系统制作的专业排版技术出版物形式交付。
Implements sorting and searching logic using stateless functions to prevent side effects and memory mutation.
Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。 该系统作为无状态算法过程运行,允许在无需网络访问、互联网连接或外部数据库查找表的情况下对坐标进行编码和解码。它利用基于参考的缩短方式,通过省略基于附近参考点的公共前缀来减少地理标识符的长度。 该库包括用于双向地理编码转换和代码操作的实用工具。这些能力涵盖了位置字符串的验证、从缩短版本中恢复完整代码,以及将坐标转换为字母数字字符的分层网格。
Implements mathematical formulas to calculate coordinates from strings without requiring any external state or database.
该项目是实用且地道的 Python 代码配方、技术教程和编程参考的集合。它作为一个示例驱动的资源,将理论编程概念转化为可执行的 Python 源代码。 该仓库被组织为一系列独立的脚本和模块化配方。每个示例都设计为无状态执行,允许单独的问题解决模式在没有共享全局状态或复杂设置的情况下独立运行。 内容专注于 Python 语言掌握和软件开发。它涵盖了常见编程模式的实现、高级语言特性以及构建可读且高效软件的既定最佳实践。
Implements code samples as self-contained units that execute without relying on external shared state.
该仓库是一套用 Go 实现的基础数据结构和经典算法集合,专为教育学习和技术技能发展而设计。它提供了一个全面的标准存储原语和计算过程库,旨在演示高效的数据组织和逻辑。 该项目的特色在于专注于核心设计原则,利用语言级的类型参数和基于接口的多态性来维护类型安全和模块化。实现依赖于迭代逻辑和通过指针进行的直接内存管理,优先考虑结构效率以及清晰、可维护的代码组织。 该库涵盖了广泛的基础计算机科学主题,包括各种搜索、排序和字符串模式匹配技术。这些实现作为分析性能、练习算法模式以及准备技术评估的资源。
Uses explicit iterative logic to minimize memory overhead compared to recursive calls.
numbers.js is a comprehensive mathematics library for JavaScript that provides a collection of advanced functions for scientific computing and data analysis. It is designed to handle complex mathematical operations through a modular architecture, offering tools for calculus, statistics, linear algebra, and prime number analysis. The library distinguishes itself by providing explicit control over numerical precision, allowing users to define error thresholds and manage decimal accuracy to mitigate rounding discrepancies. This focus on precision is paired with a suite of computational tools tha
Executes mathematical algorithms as stateless procedures to ensure isolation and predictability.
This repository serves as a comprehensive library of fundamental data structures and standard algorithms implemented in C, C++, and Java. It functions as an educational resource designed to demonstrate core computer science concepts through practical code examples. The collection covers essential data organization methods, including arrays, linked lists, stacks, and queues, alongside standard computational procedures such as sorting, searching, and graph traversal. By providing these implementations across multiple languages, the project supports technical skill development and preparation fo
Implements core algorithms using iterative loops to optimize memory usage and avoid recursion overhead.