13 Repos
Computational methods for calculating and counting subarray sums within specified numerical ranges.
Distinct from Cumulative Sum Calculators: Candidates focus on digit counting or tensor operations; this is a specific algorithmic challenge for subarray sum counting.
Explore 13 awesome GitHub repositories matching scientific & mathematical computing · Subarray Sum Algorithms. Refine with filters or upvote what's useful.
30-seconds-of-code is a comprehensive knowledge base and programming snippet library designed to support software engineering education and professional development. It provides a curated collection of reusable code units and technical guides that help developers master core language mechanics, design patterns, and architectural philosophies. The project distinguishes itself by offering a wide-ranging library of algorithmic solutions and web development patterns that are organized into modular, independently testable units. It emphasizes functional programming paradigms and declarative logic,
Implements algorithmic solutions for calculating the maximum contiguous subarray sum within numeric arrays.
This project is a curated educational resource and solution repository for algorithmic challenges, specifically focused on LeetCode problems. It serves as a technical reference for common data structures and algorithmic patterns, providing verified code implementations across multiple programming languages alongside detailed logic and complexity analysis. The repository functions as a comprehensive study guide for competitive programming and technical interview preparation. It includes specialized learning tools such as an Anki flashcard dataset for spaced repetition and a browser extension t
Implements algorithms to find the minimum length of a continuous subarray that meets a target sum.
This project is a comprehensive library of reference implementations for fundamental data structures and algorithms, designed to support technical interview preparation and software engineering assessments. It provides a structured collection of computational techniques for solving complex problems involving arrays, strings, graphs, trees, and mathematical analysis. The library distinguishes itself by offering specialized implementations for advanced topics, including concurrent programming patterns and geometric algorithms. It features thread-safe primitives for managing shared state and tas
The library calculates the number of subarray sums that fall within a specified inclusive range.
This project is a reference library of Java implementations for algorithmic coding challenges and data structure patterns. It serves as a study guide for technical interview preparation, providing a curated collection of LeetCode solutions organized by difficulty and algorithmic technique. The collection includes a mapping system that associates specific algorithm problems with the companies that frequently use them in technical interviews. The repository covers a wide range of capability areas, including tree algorithms for hierarchy construction and verification, string processing for sequ
Provides implementations of dynamic programming and divide-and-conquer strategies to find maximum subarray sums.
LogicStack-LeetCode is a curated repository of solved algorithm problems and data structure implementations, primarily drawn from the LeetCode platform. Its core identity is a structured collection of solutions designed to support technical interview preparation and competitive programming practice, with each solution accompanied by complexity analyses to help engineers understand performance trade-offs. The repository distinguishes itself through its breadth of coverage across fundamental algorithmic patterns and data structures. It includes implementations for array manipulation, string pro
Implements the classic maximum subarray sum problem using Kadane's algorithm and prefix-sum techniques.
Dieses Projekt ist eine umfassende Sammlung von C++-Bibliotheken und Toolkits, die Referenzimplementierungen für Datenstrukturen, Graphenalgorithmen und bitweise Logik bereitstellen. Es dient als C++-Algorithmen-Referenz mit über 180 gelösten Programmieraufgaben und einem spezialisierten Toolkit für Competitive Programming. Das Repository zeichnet sich durch umfangreiche Low-Level-Bibliotheken zur Bit-Manipulation für Paritätsprüfungen, Endianness-Erkennung und XOR-basierte Logik aus. Es bietet zudem eine breite Palette an Referenzlösungen für komplexe algorithmische Herausforderungen in den Bereichen Backtracking, Graphentheorie und dynamische Programmierung. Die Funktionalität umfasst grundlegende lineare und hierarchische Datenstrukturen, einschließlich verketteter Listen, Stacks, Queues und binärer Suchbäume. Es enthält eine vollständige Suite von Graphenalgorithmen für Pfadsuche und Spannbäume, verschiedene Sortier- und Suchmethoden, Matrix-Transformationen sowie Dienstprogramme zur String-Verarbeitung. Darüber hinaus deckt es mathematische Berechnungsfunktionen, verlustfreie Datenkompression und grundlegende kryptografische Chiffren ab.
Implements Kadane's algorithm to find the contiguous subarray with the highest total sum.
This is a collection of classical algorithms and data structures implemented as a header-only C++ library. It provides a suite of tools for general algorithm implementation, including data structure management, graph theory analysis, and string processing. The library is distinguished by its specialized toolkits for cryptographic hashing and encoding, featuring implementations of MD5, SHA-1, and Base64. It also includes advanced capabilities for high-performance string processing via suffix trees and arrays, as well as computational number theory for primality testing and arbitrary-precision
Finds the contiguous subarray with the largest sum within a numeric array.
LeetCode-Swift is a collection of algorithm solutions written in Swift, designed for coding interview preparation. Each solution is implemented as a self-contained function with no external dependencies, making it easy to run and test. The repository organizes solutions by topic and company, and every file includes time and space complexity annotations, allowing quick evaluation of algorithmic efficiency. What sets this repository apart is its flat file structure and the way solutions are tagged with the companies that asked them in interviews, enabling targeted practice. All code resides in
Uses two pointers to find the smallest contiguous subarray whose sum is at least a given target value.
Dieses Projekt ist eine kuratierte Referenzbibliothek für algorithmische Muster, Implementierungen von Datenstrukturen und Notizen zum Systemdesign. Sie dient als Java-Aufgabenset für algorithmische Probleme und als Leitfaden für wettbewerbsorientiertes Programmieren und bietet eine Sammlung von Lösungen für Coding-Challenges von Plattformen wie LeetCode und LintCode. Die Bibliothek zeichnet sich durch ihre umfassende Sammlung von Java-Implementierungen für fortgeschrittene Datenstrukturen und algorithmische Strategien aus. Sie enthält detaillierte Referenzen zur Lösung komplexer Probleme mit begleitender Analyse der Zeit- und Platzkomplexität. Das Projekt deckt ein breites Spektrum der Informatik-Grundlagen ab, einschließlich Algorithmus-Design, Implementierung von Datenstrukturen und Systemdesign. Die Inhalte umfassen Graphentheorie, dynamische Programmierung, Suche und Optimierung sowie Techniken der linearen Datenverarbeitung. Zudem enthält sie Notizen zu Infrastrukturskalierbarkeit, Performance-Caching und Softwarearchitekturmustern.
Implements computational methods for calculating and counting subarray sums using prefix sum techniques.
This repository is a curated guide and implementation library of coding patterns used to solve data structures and algorithms problems. It serves as a technical interview study resource, providing a comprehensive set of strategies and computational logic examples for optimizing time and space complexity. The project focuses on standardized algorithmic patterns, including sliding windows, two pointers, and dynamic programming. It features specific implementations for a wide range of challenges, such as LeetCode problem solutions and specialized techniques like cyclic sort and bitwise XOR opera
Implements a sliding window to find contiguous subarrays with a product less than a target value.
This project is a Go algorithm implementation library and a reference for data structures. It serves as a collection of solved coding interview problems and an algorithmic pattern collection, providing a reference of over 100 common challenges implemented in Go. The library focuses on specific problem-solving strategies, including sliding windows, two pointers, and dynamic programming. It provides coded examples of standard sorting, searching, and graph traversal techniques to facilitate the study of algorithmic patterns. The repository covers a broad range of capabilities, including array a
Provides algorithms for finding the contiguous subarray with the largest total sum.
This project is a collection of optimized computational routines and standardized implementations of fundamental computer science algorithms. It serves as an educational library for studying and applying core algorithmic patterns, including dynamic programming, greedy strategies, and recursive decomposition, within a TypeScript environment. The library distinguishes itself by providing generalized solvers for complex optimization and analysis tasks. It includes specific implementations for resource allocation, such as rod cutting, interval scheduling, and change-making problems, alongside seq
Locates the contiguous segment within a numerical sequence that yields the highest possible sum to identify peak performance periods.
Dieses Repository dient als umfassende Ressource für kompetitive Programmierung und technische Interviewvorbereitung. Es bietet eine strukturierte Sammlung von Quellcode-Implementierungen für grundlegende Datenstrukturen und klassische algorithmische Probleme, die darauf ausgelegt sind, Entwicklern zu helfen, grundlegende Informatikkonzepte und effiziente Coding-Strategien zu beherrschen. Über das Standard-Problemlösen hinaus zeichnet sich das Projekt durch die Integration von Software-Design-Patterns in seine algorithmischen Implementierungen aus. Es demonstriert, wie man strukturelle und verhaltensbezogene Patterns – wie Decorators, Observers und Singletons – anwendet, um sauberen, erweiterbaren Code zu wahren. Zusätzlich deckt das Repository nebenläufige Programmiermuster ab und bietet Beispiele für Thread-Pool-Management und Synchronisierungstechniken zur Handhabung ressourcenintensiver Aufgaben. Die Sammlung enthält eine breite Palette von Bildungsmaterialien, von Komplexitätsanalyse und Problemlösungsvorlagen bis hin zu spezifischen Implementierungen für Graphentraversierung, dynamische Programmierung und Bereichsabfragen. Diese Ressourcen sind so organisiert, dass sie sowohl beim Erlernen grundlegender Techniken als auch beim Üben für professionelle technische Assessments unterstützen.
Identifies the contiguous subarray with the largest sum in linear time.