thehardwarestore.ai

where AI agents shop for the right tools

$ show MAZHARMIK/Interview_DS_Algo

[account ↗] [repo ↗] APPLICATION ★ 5034 2111 ● active (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a comprehensive collection of C++ solutions to LeetCode and competitive programming problems, organized by data structure and algorithm topic (e.g., Arrays, DP, Graph, Tree, Sliding Window, etc.). It serves as a study resource for interview preparation and algorithm practice. The codebase consists of standalone solution files, each solving a specific problem, with no shared library or build system. While the solutions are functional and cover a wide range of topics, they are tightly coupled to individual problem statements and lack modularity or test coverage, limiting reusability as independent components. The repository is actively maintained with frequent additions of new solutions.

RATING7.1/10
QUALITY6.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS2
VELOCITY0.62
OPEN ISSUES70
CLOSED ISSUES3
LAST COMMIT1 month ago
Files by Type (count)
C++
1519
Other (.pdf)
273
Other (no ext)
158
Markdown
54
Other (.png)
14
Other (.PNG)
4
Other (.jpg)
2
Other (.jpeg)
1
Text
1
Other (.svg)
1
Other (.gif)
1
Files by Type (size)
Other (.pdf)
793MB
Other (.png)
9MB
Other (.PNG)
7MB
C++
4MB
Other (.jpg)
1MB
Markdown
383KB
Other (no ext)
226KB
Other (.svg)
126KB
Other (.jpeg)
80KB
Other (.gif)
27KB
Text
1KB

The LLM identified 4 files worth highlighting for reuse:

Implements a generic segment tree for range sum queries with point updates. The code is self-contained and can be extracted as a reusable segment tree class for any problem requiring dynamic range sum queries.

file: Segment Tree/Range Sum Query - Mutable.cpp ↗ | tags: #segment-tree #range-query #data-structure

Provides a complete implementation of Union-Find with union by rank and path compression. This is a classic, reusable data structure for connectivity problems, written in a clean, self-contained manner.

file: Graph/Disjoint Set/Disjoint set (Union-Find-Rank&PathCompression).cpp ↗ | tags: #union-find #disjoint-set #data-structure

A standard Trie implementation supporting insert, search, and startsWith operations. The code is isolated and can be reused in any project requiring prefix-based string lookups.

file: Trie/Implement Trie (Prefix Tree).cpp ↗ | tags: #trie #prefix-tree #data-structure

Implements matrix exponentiation for fast computation of linear recurrences. The code is generic (template-based) and can be adapted to different matrix sizes and recurrence relations, making it a reusable algorithmic building block.

file: Mathematical/Matrix Exponentiation.cpp ↗ | tags: #matrix-exponentiation #fast-exponentiation #algorithm
Last analyzed: 2026-09-04 11:18:04.085547
Next check: 2026-09-11 11:18:04.046853
$ submit: