Skip to content

Latest commit

 

History

History
194 lines (144 loc) · 10.6 KB

File metadata and controls

194 lines (144 loc) · 10.6 KB

competitive-programming-templates

Reusable starter templates for competitive programming across twelve languages. Clean scaffolds, consistent structure and fast setup for LeetCode, Codeforces and NeetCode.

Portfolio badge LinkedIn badge Email badge

This repository contains reusable starter templates for solving competitive programming problems across multiple languages. Each template is a minimal, clean scaffold designed to remove setup friction and let you focus on problem solving from the first line.

12 languages. One consistent structure. Zero setup overhead.


Overview

Templates are the foundation of a consistent competitive programming workflow. Rather than recreating boilerplate every session, each language folder provides a ready-to-use starting point that matches the structure used in the main competitive-programming repository.

Every template is kept intentionally minimal. No unnecessary abstractions, no framework-specific patterns and no generated noise. Just clean source files that are ready to copy and solve.


Templates Purpose

Each language folder provides:

  • a hello world reference file to verify the environment works
  • a neutral starter entry file to begin solving from immediately
  • a language-specific .gitignore for common generated output
  • a local README.md with build or run instructions
  • build placeholders where compiled languages require them

The goal is to reduce the time between opening a new problem and writing the first meaningful line of code.


Supported Languages

Python icon C++ icon Java icon JavaScript icon TypeScript icon Go icon
Python C++ Java JavaScript TypeScript Go
Rust icon C icon C sharp icon Kotlin icon Swift icon PHP icon
Rust C C# Kotlin Swift PHP

Tooling

Git icon GitHub icon VS Code icon JetBrains icon
Git GitHub VS Code JetBrains

Structure

Click to expand the directory tree
competitive-programming-templates/
├── python/
│   ├── hello_world.py
│   ├── main.py
│   ├── .gitignore
│   └── README.md
├── cpp/
│   ├── hello_world.cpp
│   ├── main.cpp
│   ├── .gitignore
│   └── README.md
├── java/
│   ├── HelloWorld.java
│   ├── src/
│   │   └── Main.java
│   ├── .gitignore
│   └── README.md
├── javascript/
│   ├── hello_world.js
│   ├── main.js
│   ├── .gitignore
│   └── README.md
├── typescript/
│   ├── hello_world.ts
│   ├── main.ts
│   ├── .gitignore
│   └── README.md
├── go/
│   ├── hello_world.go
│   ├── main.go
│   ├── .gitignore
│   └── README.md
├── rust/
│   ├── main.rs
│   ├── .gitignore
│   └── README.md
├── c/
│   ├── hello_world.c
│   ├── main.c
│   ├── .gitignore
│   └── README.md
├── csharp/
│   ├── Program.cs
│   ├── .gitignore
│   └── README.md
├── kotlin/
│   ├── HelloWorld.kt
│   ├── Main.kt
│   ├── .gitignore
│   └── README.md
├── swift/
│   ├── hello_world.swift
│   ├── main.swift
│   ├── .gitignore
│   └── README.md
└── php/
    ├── hello_world.php
    ├── main.php
    ├── .gitignore
    └── README.md

Usage

  1. Navigate to the language folder that matches your target language.
  2. Copy the contents into your solution folder or use main.* as your starting file.
  3. Follow the language-specific README.md for build and run instructions.
  4. Start solving.

Each main.* file is intentionally blank or minimal so it can be used as a neutral entry point without modification. The hello_world.* file confirms the language toolchain is working correctly.


Why This Exists

  • Removes repeated setup time across problems and sessions.
  • Keeps template quality consistent across all twelve languages.
  • Separates reusable scaffolding from the solved problem archive.
  • Works with VS Code, JetBrains IDEs and terminal-only workflows.
  • Mirrors the structure of the main competitive-programming repository for easy cross-reference.


Made with 💻 by Isaac Adjei


isaacadjei.me zacess.com


Footer banner

Contact and Support

Open an issue in this repository for questions or bugs.

You can also reach me directly at code@isaacadjei.me or via my website contact page.