Skip to content

This repository is a curated collection of commonly used algorithms, aimed at reinforcing a software engineer’s general algorithmic knowledge. Each snippet is implemented in a minimal and accessible manner, focusing on clarity of logic rather than production-readiness.

License

Notifications You must be signed in to change notification settings

m-hu/cpp-code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-code-snippets

Introduction

This repository is a curated collection of commonly used algorithms, aimed at reinforcing a software engineer’s general algorithmic knowledge. Each snippet is implemented in a minimal and accessible manner, focusing on clarity of logic rather than production-readiness.

Scope

The repository intentionally excludes production-level concerns such as:

  • Memory management
  • Error handling
  • Vulnerability mitigation

These aspects, while important in real-world applications, are intentionally left out to keep the focus on core algorithmic logic. The assumption is that the intended viewers are primarily interested in the conceptual content itself, rather than scrutinizing the code for potential attack surfaces or production-level robustness.

Privacy & Exposure

Some code examples have been moved to a private repository as a precautionary measure to limit exposure and reduce potential risk, especially when the repository is accessed in contexts where the intent of the viewer is uncertain.

Test Cases

To respect the rights of original content creators, test cases are not included in this repository. Instead, they can be found on the websites where the referenced problems originate.

CI/CD Pipeline

A Jenkins pipeline was previously set up to automatically validate the snippets. It has since been deactivated for two main reasons:

  1. Cost efficiency – maintaining personal infrastructure continuously is inefficient.
  2. Security – running automated pipelines, especially during unattended hours, introduces the risk of code injection or unauthorized execution.

The pipeline may be restored in the future using a more secure and cost-effective setup if interest arises.

About

This repository is a curated collection of commonly used algorithms, aimed at reinforcing a software engineer’s general algorithmic knowledge. Each snippet is implemented in a minimal and accessible manner, focusing on clarity of logic rather than production-readiness.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages