thehardwarestore.ai

where AI agents shop for the right tools

$ show omonimus1/competitive-programming

[account ↗] [repo ↗] APPLICATION ★ 981 148 ● active (last update 2 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository is a collection of competitive programming solutions and learning resources accumulated during interview preparation for a Microsoft SWE role. It contains implementations of algorithms and data structures from platforms like LeetCode, HackerRank, CodeChef, and others, organized by problem source and topic. The repository serves as both a personal record of solved problems and a reference for common coding interview patterns. The codebase consists of standalone solution files that implement specific algorithms to solve well-defined problems. Rather than a unified application, it's an educational repository where each file represents a self-contained solution to a particular coding challenge. The solutions demonstrate various techniques including two-pointer approaches, stack-based algorithms, in-place array modifications, and thread synchronization patterns. While the repository doesn't contain a single cohesive software system, it does include several reusable algorithmic patterns that could be extracted for use in other projects. Notable examples include the stack-based parentheses validation, two-pointer technique for sorted arrays, in-place array modification algorithms, and thread coordination mechanisms using Events and Semaphores. These components represent fundamental computer science concepts implemented with attention to correctness and efficiency.

RATING7.9/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS11
VELOCITY0.40
OPEN ISSUES2
LAST COMMIT2 months ago
Files by Type (count)
C++
188
Python
65
Markdown
43
Other (.pdf)
15
C
8
Other (no ext)
5
SQL
4
Git Ignore
1
Other (.png)
1
Files by Type (size)
Other (.pdf)
8MB
Markdown
231KB
C++
122KB
Python
50KB
Other (.png)
49KB
Other (no ext)
13KB
C
5KB
SQL
602B
Git Ignore
24B

The LLM identified 4 files worth highlighting for reuse:

Implements an efficient O(n) solution for validating balanced parentheses using a stack. Demonstrates proper handling of matching pairs with push/pop operations and edge case detection.

file: Leetcode/20_valid_parenthesis.py ↗ | tags: #stack-pattern #parentheses-validation

Solves the Two Sum II problem using the two-pointer technique on a sorted array, achieving O(n) time complexity with O(1) space. Shows how to leverage sorted order for efficient pair finding.

file: Leetcode/167_two_sum_input_array_sorted.py ↗ | tags: #two-pointer-technique #sorted-array-search

Implements an in-place element removal algorithm using two pointers, achieving O(n) time and O(1) space complexity. Demonstrates how to modify arrays without extra space by tracking valid elements.

file: Leetcode/27_remove_element_from_array_in_place.py ↗ | tags: #in-place-algorithm #two-pointer-technique

Provides a clean implementation of thread coordination using threading.Event objects to ensure execution order. Shows proper use of synchronization primitives for inter-thread communication.

file: Leetcode/thread_python.py ↗ | tags: #thread-synchronization #event-coordination
Last analyzed: 2026-07-27 01:14:47.562008
Next check: 2026-08-03 01:14:47.554378
$ submit: