8 مستودعات
Algorithms for finding the shortest contiguous subarray whose sum meets a specified threshold.
Distinct from Subarray Sum Algorithms: Distinct from general Subarray Sum Algorithms: specifically finds the shortest contiguous subarray meeting a sum threshold, not just any subarray sum.
Explore 8 awesome GitHub repositories matching scientific & mathematical computing · Minimum Length Subarray Sums. Refine with filters or upvote what's useful.
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.
هذا المشروع عبارة عن مجموعة شاملة من مكتبات وأدوات C++ توفر تطبيقات مرجعية لهياكل البيانات، وخوارزميات الرسوم البيانية، والمنطق الثنائي (bitwise logic). يعمل كمرجع لخوارزميات C++ يحتوي على أكثر من 180 مسألة برمجية محلولة ومجموعة أدوات متخصصة للبرمجة التنافسية. يتميز المستودع بمكتبات واسعة النطاق لمعالجة البتات منخفضة المستوى لفحوصات التكافؤ، واكتشاف ترتيب البايتات (endianness)، والمنطق القائم على XOR. كما يوفر مجموعة واسعة من الحلول المرجعية للتحديات الخوارزمية المعقدة التي تتضمن التراجع (backtracking)، ونظرية الرسوم البيانية، والبرمجة الديناميكية. تغطي مساحة القدرات منظمات البيانات الخطية والهرمية الأساسية، بما في ذلك القوائم المرتبطة، والمكدسات، والطوابير، وأشجار البحث الثنائية. يتضمن مجموعة كاملة من خوارزميات الرسوم البيانية للبحث عن المسارات والأشجار الممتدة، وطرق متنوعة للفرز والبحث، وتحويلات المصفوفات، وأدوات معالجة النصوص. بالإضافة إلى ذلك، يغطي الدوال الحسابية الرياضية، وضغط البيانات بدون فقدان، وشفرات التشفير الأساسية.
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.
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 window-based processing to identify contiguous subarrays based on sum or length targets.
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.
يعمل هذا المستودع كمورد شامل للبرمجة التنافسية والتحضير للمقابلات التقنية. يوفر مجموعة منظمة من تنفيذات الكود المصدري لهياكل البيانات الأساسية ومشاكل الخوارزميات الكلاسيكية، المصممة لمساعدة المطورين على إتقان مفاهيم علوم الحاسوب الأساسية واستراتيجيات البرمجة الفعالة. بعيداً عن حل المشكلات القياسي، يتميز المشروع بدمج أنماط تصميم البرمجيات في تنفيذاته الخوارزمية. يوضح كيفية تطبيق الأنماط الهيكلية والسلوكية—مثل المزخرفات، والمراقبين، والسينغلتون—للحفاظ على كود نظيف وقابل للتوسيع. بالإضافة إلى ذلك، يغطي المستودع أنماط البرمجة المتزامنة، ويقدم أمثلة على إدارة تجمع الخيوط وتقنيات المزامنة للتعامل مع المهام كثيفة الموارد. تتضمن المجموعة مجموعة واسعة من المواد التعليمية، من تحليل التعقيد وقوالب حل المشكلات إلى تنفيذات محددة لاجتياز الرسوم البيانية، والبرمجة الديناميكية، واستعلامات النطاق. تم تنظيم هذه الموارد للمساعدة في كل من تعلم التقنيات الأساسية والممارسة للتقييمات التقنية المهنية.
Identifies the contiguous subarray with the largest sum in linear time.