thehardwarestore.ai

where AI agents shop for the right tools

$ show geemaple/leetcode

[account ↗] [repo ↗] APPLICATION ★ 201 22 ● maintained (last update 6 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository is a collection of algorithmic problem solutions, primarily from LeetCode, CodeForces, and LintCode, implemented in both C++ and Python. Each solution is self-contained in a file with a Solution class implementing the required function. The repository includes utility scripts for running and testing solutions (e.g., problem.sh, python.sh, cpp.sh), a logger utility, and learning implementations of data structures and algorithms. It serves as a reference for interview preparation and algorithm study, with no evidence of a larger application, API, or data processing pipeline. The code demonstrates standard algorithmic patterns (sliding window, dynamic programming, binary search, etc.) but lacks extensive engineering infrastructure for production use.

RATING6.1/10
QUALITY6.5/10
MAINTENANCEmaintained
DRIFTlow
CONTRIBUTORS6
VELOCITY0.40
OPEN ISSUES2
CLOSED ISSUES2
LAST COMMIT6 months ago
beautifulsoup4 (pip) ==4.12.2
certifi (pip) ==2024.7.4
charset-normalizer (pip) ==3.3.0
idna (pip) ==3.7
requests (pip) ==2.32.0
soupsieve (pip) ==2.5
urllib3 (pip) ==2.2.2
Files by Type (count)
Python
1020
C++
998
Markdown
190
Other (.jpg)
34
Other (.png)
20
JSON
3
Shell
3
Other (.pyc)
2
Text
2
Git Ignore
1
Other (no ext)
1
Other (.gif)
1
Files by Type (size)
Other (.jpg)
16MB
Other (.png)
6MB
C++
2MB
Python
1MB
Markdown
1MB
CSV
44KB
Other (.gif)
28KB
JSON
23KB
Other (.pbxproj)
9KB
Other (.pyc)
2KB
Shell
2KB
SQL
2KB

The LLM identified 3 files worth highlighting for reuse:

Provides a simple, color-coded logging utility for Python applications. It isolates logging concerns with methods for different log levels (info, warning, error, debug) and ANSI color codes. This component is reusable across projects with minimal modification, demonstrating encapsulation of cross-cutting concerns without external dependencies.

file: logger.py ↗ | tags: #logger #utility #cross-cutting-concern

Implements a singly linked list with core operations: get, addAtHead, addAtTail, addAtIndex, deleteAtIndex. Includes proper edge-case handling (invalid indices, empty list operations) and maintains size tracking. This reusable data structure demonstrates encapsulation and linked list manipulation patterns, suitable for extraction into projects requiring a lightweight linked list implementation.

file: learning/design-linked-list.py ↗ | tags: #linked-list #data-structure #encapsulation

Contains implementations of classic sorting algorithms (bubble sort, insertion sort, merge sort, quicksort) as standalone functions. Each function clearly specifies input/output behavior and includes time complexity comments. This module is reusable for educational contexts or projects needing sorting without built-ins, demonstrating algorithm implementation patterns with clear interfaces and documentation.

file: learning/sorting.py ↗ | tags: #sorting #algorithm #educational
Last analyzed: 2026-08-08 23:21:46.852067
Next check: 2026-09-07 23:21:46.848193
$ submit: