WikiWIKI Graph
Wiki
Reference handbooks — evergreen content updated continuously
Browse Documents
78 documentsPatterns40 documentsConcepts20 documentsAlgorithms6 documentsTechniques6 documentsOther3 documentsIdioms2 documentsInteraction Patterns1 documents
All Documents
- Dijkstra’s algorithmSettle the smallest tentative distance in a nonnegative-weight graph, relax outgoing edges, and understand priority-queue and negative-edge boundaries.Algorithmspath:Algorithms/Graphs
- Facade PatternOffer a simple entry point to several subsystem operations without absorbing all their business rules.Patternspath:Patterns/GoF/Structural
- Factory Method PatternKeep a shared workflow while subclasses decide which concrete object it creates and uses.Patternspath:Patterns/GoF/Creational
- Flyweight PatternShare repeated immutable state while keeping per-use data such as position separate.Patternspath:Patterns/GoF/Structural
- FoldA functional technique for reducing a collection or recursive structure to one value by repeatedly combining partial results.Techniquespath:Techniques/Functional Programming
- Function CompositionA functional technique for connecting functions so that one function's output becomes the next function's input.Techniquespath:Techniques/Functional Programming
- Functional ProgrammingFunctional ProgrammingConceptsFPFunctional Programming
- FunctorA functional concept for mapping values while preserving their structure under the identity and composition laws.Conceptspath:Concepts/Functional Programming
- Guard ClausesCheck failures and special cases at the start of a function, returning or throwing immediately so the normal path remains unnested.Techniquespath:Techniques/Control Flow
- IdempotencyTrace idempotence from algebra and fixed points to HTTP retries, request keys, and replicated state, with original sources.Conceptspath:Concepts/Distributed Systems
- InheritanceInheritanceConceptsOOPInheritance
- Interpreter PatternRepresent a small language as expression objects that evaluate their own meaning.Patternspath:Patterns/GoF/Behavioral
- Iterator PatternTraverse a collection without exposing its representation, using a separate object for traversal state.Patternspath:Patterns/GoF/Behavioral
- Mediator PatternCollect interaction rules in a mediator so collaborating objects do not depend directly on each other.Patternspath:Patterns/GoF/Behavioral
- Memento PatternKeep an opaque state snapshot so the original object can restore itself without exposing its internals to history management.Patternspath:Patterns/GoF/Behavioral
- Merge sortDivide an array into halves, merge sorted subranges in linear time, preserve stability on equal keys, and manage auxiliary buffer space.Algorithmspath:Algorithms/Sorting
- MonadA functional concept for sequencing computations that carry a context, such as absence, failure, or asynchronous completion.Conceptspath:Concepts/Functional Programming
- MonoidAn algebraic concept combining an associative operation and an identity to explain how partial results can be grouped.Conceptspath:Concepts/Functional Programming
- MVC PatternAn architecture pattern that separates data and rules, presentation, and input interpretation into a model, views and controllers, assigning each a different reason to change.Patternspath:Patterns/Architecture
- MVP PatternA UI architecture pattern in which a presenter controls a screen through a view interface, so presentation rules can be tested without a UI.Patternspath:Patterns/Architecture
- MVU PatternAn architecture pattern that represents screen state as one value, updates it with a pure function that receives messages, and renders it with a view function.Patternspath:Patterns/Architecture
- MVVM PatternAn architecture pattern that connects a View and ViewModel through data binding, so screen state and actions can be handled apart from UI controls.Patternspath:Patterns/Architecture
- Object-Oriented ProgrammingObject-Oriented ProgrammingConceptsOOPpath:Concepts/Programming
- Observer PatternNotify registered receivers of a change without making the source depend on every receiver.Patternspath:Patterns/GoF/Behavioral
- Option TypeA data type representing presence or absence so callers handle both cases explicitly.Conceptspath:Concepts/Type Systems
Recently Updated
- Tokens and tokenizersDistinguishes characters, bytes, subwords, and integer token IDs, and explains BPE merge rules and subword tokenization pipelines.
- Pretraining, fine-tuning, and in-context learningDistinguishes gradient-based parameter updates in pretraining and fine-tuning from frozen-weight conditioning in in-context learning.
- Transfer learning and negative transferExplains how source data shifts target risk under a fixed learning algorithm and distinguishes parameter, feature, and instance transfer.
- Union-findMaintain a partition of disjoint sets using parent-pointer trees, union by size, and path compression in inverse-Ackermann amortized time.
- Dijkstra’s algorithmSettle the smallest tentative distance in a nonnegative-weight graph, relax outgoing edges, and understand priority-queue and negative-edge boundaries.
- Depth-first searchFollow one branch to completion before backtracking, preserve recursive discovery order with explicit stack frames, and apply the parenthesis theorem.
- Breadth-first searchExplore a graph layer by layer with a FIFO queue, preserve the two-level wavefront invariant, and compute minimum edge counts in unweighted graphs.
- Merge sortDivide an array into halves, merge sorted subranges in linear time, preserve stability on equal keys, and manage auxiliary buffer space.